Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Joan Perez on May 29, 2008 09:46
open dhtmlx forum
Problem with getAllRowIds() - dhtmlXGridObject -

When i call function getAllRowIds(), a object reference problem occurs on this.rowsBuffer[i]

Debugging, the length of the array is ok .. but when it trys this: "ar.push(this.rowsBuffer[i].idd)"

'this.rowsBuffer[i].idd' falis because 'this.rowsBuffer[i]' throws an 'is null or is not and object' error mesage.

However, as told, the length of the array its correct, but it is storing null references...

We recently update to "v.1.6 build 80512", on prior version "v.1.5 build 80319" it was working properly.


Thanks for your help.
Answer posted by Support on May 30, 2008 01:44
Are you using such functionality in dynamic loading mode? ( dynamic paging or dynamic smart rendering ) ?
In both modes not all rows available , so the functionality fail.

You can use attached file to prevent errors, but please beware that only IDs of already loaded rows will be returned by command.
Attachments (1)