I am using RadGrid in VS2010 and populating it with JSON data from the clientside.
My page allows data entry in a traditional textfield manner and then assembles the data and performs an AJAX POST to store serverside. The page is then refreshed using a typical clientside JSON binding.
This all works well and I can have unlimted(?) number of json dataitems.
However, I need to reach inside and draw a dropdownbox for one of my cells/row.
This also works perfect until I reach the 12th row inside a foreach loop.
my javascript/clientside code is simple in that I have a loop with a counter.
inside the loop i use a RADGrid method (.getRowByIndex) to instantiate the client side object.
===============================================================================
var row = tableView._getRowByIndexOrItemIndexHierarchical(i);
===============================================================================
"i" is within the bounds of my array and the row object does actually get created but the "CHILDREN" count=0.
this should represent the number of cells for that row in which I would index into that collection and then do work on the cell in question.
Error handling prevents the page from crashing and when the grid refreshes it show 12 or more rows of data but I can not access the children for any rows past the 11th one (dataItems 1-11 all have the required dropdown box, 12 and on do not)
any ideas?
(I have set the page size to 50)
Thanks Don
My page allows data entry in a traditional textfield manner and then assembles the data and performs an AJAX POST to store serverside. The page is then refreshed using a typical clientside JSON binding.
This all works well and I can have unlimted(?) number of json dataitems.
However, I need to reach inside and draw a dropdownbox for one of my cells/row.
This also works perfect until I reach the 12th row inside a foreach loop.
my javascript/clientside code is simple in that I have a loop with a counter.
inside the loop i use a RADGrid method (.getRowByIndex) to instantiate the client side object.
===============================================================================
var row = tableView._getRowByIndexOrItemIndexHierarchical(i);
===============================================================================
"i" is within the bounds of my array and the row object does actually get created but the "CHILDREN" count=0.
this should represent the number of cells for that row in which I would index into that collection and then do work on the cell in question.
Error handling prevents the page from crashing and when the grid refreshes it show 12 or more rows of data but I can not access the children for any rows past the 11th one (dataItems 1-11 all have the required dropdown box, 12 and on do not)
any ideas?
(I have set the page size to 50)
Thanks Don