Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by David Hutchings on Nov 24, 2008 15:53
open dhtmlx forum
Missing Functions?

I'm attempting to implement a "select all" interface with a smart-rendering grid. As suggested in previous answers, I am attempting to call "while (this.addRowsFromBuffer());" before selecting all check boxes. Unfortunately, I am unable to find any reference to this function, so I get an error (unsupported object or method.) What file needs to be included in order to get this functionality to work?

Also, I am attempting to implement "enablePreRendering". This function also seems to be missing, though it is included in the current documentation. Is this availble?

I am using v.2.0 build 81009.

Thanks,
- Dave
Answer posted by Support on Nov 25, 2008 01:51
>>This function also seems to be missing, though it is included in the current documentation. Is this availble?
It is avaialable as part of build 81107
          http://dhtmlx.com/docs/news/index.shtml?show=35

>> I am attempting to call "while (this.addRowsFromBuffer());" before selecting all check boxes
You can try to use 
   for (var i=0; i<mygrid.getRowsNum(); i++)
        mygrid.render_row(i);