Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Praveen on Dec 09, 2008 04:51
open dhtmlx forum
SplitAt() functionality not working

Hi,

SplitAt() Functionality not working in portals, iam calling splitAt(2) after init before load but it was displaying the grid except first two columns even it was not displaying firsst two columns???

Can anyone help me out????


Thanks
Praveen
Answer posted by Support on Dec 09, 2008 05:13
Please check how size of grid defined, if it was not defined on moment of splitAt call, the grid can calculate incorrect initial split position ( such issue can occur if you init grid during page rendering time, without waiting for page loading, from inside of not closed html structure ) 

To resolve issue you can try to add next line

dhtmlxEvent(window,"load",function(){
    mygrid._fake._correctSplit();
})