Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on May 01, 2008 04:45
open dhtmlx forum
Header Menu

How can i use the mygrid.enableHeaderMenu(); to hide or show just one column in the grid? That means the user should only have the option to hide or see just one column instead of all the columns.
Answer posted by Support on May 02, 2008 05:23
Can be done only with code modification, it much more simple to achieve the same effect with custom control

<input type="checkbox" onclick="mygrid.setColumnHidden(INDEX,this.checked)"> Hide|show column in quesiton

where INDEX - index of necessary column