Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by aalekhya on Jan 22, 2009 01:00
open dhtmlx forum
issue with smartrendering

Hi
Iam using dhtmlgrid1.5
In this iam using smartrendering and splitAt(1) functionality.While adding a row iam getting an javascript error like "_child indexes is null or not an object".I am adding new row at the end of the grid.Intially it shows first records.At that time if i add a row i am getting this error.If i scroll down to the grid and then add that row iam not getting this error.
Previously it works fine.But now error is coming.Please provide me solution as early as possible.I wrote the code as below

newrow[0]=1;
mygrid.addRow(id,newrow,-1);
mygrid.sortRows(0);
mygrid.selectRowById(id);
mygrid.showRow(id);

I want to ask one question mainly.SelectRowById(id) ...is it working for nonrenderred rows also?Because in my code javascript error came for not rendering rows.New row added at the end of the grid.so it is not rendered.How can i solve this issue.Please provide me solution

Thanks
aalekhya
Answer posted by Support on Jan 22, 2009 05:13
>>I want to ask one question mainly.SelectRowById(id) ...is it working for nonrenderred rows also?
It works in latest version, but for grid 1.5 it will not work correctly, only rows which already become visible can be fully operable. 

>>Previously it works fine.But now error is coming.Please provide me solution as early as possible.I wrote the code as below
If issue still occurs for you - please provide any kind of sample where issue can be reconstructe ( you can send such info directly to support@dhtmlx.com )