Hi Support,
We have an application that creates an igTreeGrid using ASP MVC Helper. It uses a model to get the initial data (Model.GetInitialRows()).
However, I need to do an operation on those rows once they are loaded. I registered a handler using
$("#grid").on("igtreegriddatarendered", function (event, ui) {
});
But when I access the datasource within the function, the size of the data is 0!
Do you know how I can operate on the data once the grid is created?
Thanks,
Jose
Hello Jose,
I believe that dataRendered event is an appropriate event to access the data, since it fires after all the data records have been rendered. Can you tell me how do you access the data and it would be great if you can share some code or send me an isolated sample? Thanks in advance.
Regards, Tsanna
Hi Tsanna,
I am now using the event igtreegridschemagenerated. This passes in the dataSource with the Records attribute.