The short answer is that this is not supported in SlickGrid, at least for now. The CSS workaround does not work, as SlickGrid uses the DOM elements in the header to calculate the size of the viewport. If set display:none, SlickGrid considers the grid to be 0 pixels wide.
You can get around this by completing $(".slick-header-columns").css("height","0px")and then calling grid.resizeCanvas()to get rid of the remaining spaces at the bottom of the grid.
source
share