Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Feb 04, 2008 07:25
open dhtmlx forum
Frozen columns

I am using the following code but the hidden column with index 0 is still visible. am I doing something wrong here?

XML:
<beforeInit>
<call command="setSkin"><param>light</param></call>
</beforeInit>
<afterInit>
<call command="setColumnHidden"><param>0</param><param>true</param></call>
<call command="splitAt"><param>3</param></call>
</afterInit>

Script:
mygrid = new dhtmlXGridObject('gridbox');
mygrid.setImagePath("../codebase/imgs/");
mygrid.preventIECaching(true);
mygrid.loadXML("../Get.aspx");
Answer posted by Support on Feb 04, 2008 09:48
Just change the order of commands

<afterInit>
    <call command="splitAt"><param>3</param></call>
    <call command="setColumnHidden"><param>0</param><param>true</param></call>
</afterInit>