Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
How do I operate on the data once the igTreeGrid is created?
posted

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
Parents
  • 15320
    Offline posted

    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

Reply Children