Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Frank S. Waaland on Sep 16, 2009 04:57
open dhtmlx forum
Dynamic hide/show of column depended on width of page.

Is there any function that will allow for dynamic showing of column when resizing the grid.

My grid has around 14 column, but when showing on a small monitor, instead og shrinking all the column , I would like to just remove some of them, so that i instead can show only 4 or 5 column.

I know this might be far fetch, but wanted to ask.
Answer posted by dhxSupport on Sep 16, 2009 05:11
You can use (*) column width. Columns with such width will occupy all available width from the grid's container. If there is no available width, such columns will not visible. Please find example here http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/10_grids_manipulations/03_grid_auto_width.html