Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sangam on Mar 06, 2009 02:29
open dhtmlx forum
splitAt() from DhtmlXGridObject is not working

Hi Sir,

We are using splitAt() function to split between columns & which provides horizontal scroll bar to us. This functionality works fine when grid loads first time, however, on particular event in screen we are loading same grid for next time but its header(Column titles) getting messed. They appears twice or thrice. We checked the xml passed to DHTMLX its proper and have single values of header or column titles.

In another scenario if we comment only one line of code i.e addition of splitAt() function, it works fine.

I think with you of splitAt() its not clearing previous data. (Just a guess). We are using DHTMLX 2.0

customer number (171222945)

Please suggest a solution for this.

Thanks & Regards,
Sangam
Answer posted by dhxSupport on Mar 06, 2009 06:29
If you want to reload grid with another structure which has frozen columns you have to use mygrid.destructor() to compleatly delete grid from the page. After that you should create grid's object again. There is no possibility to change number of frozen columns at the existed dhmlxGrid object.