Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tejas Shah on Aug 09, 2008 08:26
open dhtmlx forum
DHTMLX Grid : Enable Movability of newly inserted column through script.

Hi,
How can I make the newly inserted column movable through script ?
First I am loading grid with XML then I am using insertColumn() thru some button.
How to achieve this ?
Please HELP !!
Answer posted by Support on Aug 11, 2008 02:04
If you have used
       grid.enableColumnMove(true);
The column movability will be enabled for all column, including ones added after command call  ( by insertColumn )
If you have used second parameter - which allows to enable movability for separate columns, then, after adding new column, you can call the same command again, with updated list as a second parameter.