Callback when grid is fully loaded

4 posts, 0 answers
  1. Mahmut
    Mahmut avatar
    2 posts
    Member since:
    Jun 2017

    Posted 14 Jun 2017 Link to this post

    I'm trying to change some data after grid is ready to use but "onDatabound", "change" or "requestEnd" events not working for me. Becouse they are working before html changes. How can I do?
  2. Preslav
    Admin
    Preslav avatar
    574 posts

    Posted 14 Jun 2017 Link to this post

    Hi Mahmut,

    The dataBound event fires when the widget is bound to data from its data source and it is ready to use.
    That said, if this event is not suitable for you, could you please elaborate on the exact scenario of your project? This information would help us understand the problem and provide assistance(another event) to the best of our knowledge.

    Regards,
    Preslav
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Mahmut
    Mahmut avatar
    2 posts
    Member since:
    Jun 2017

    Posted 14 Jun 2017 Link to this post

    I'm changing some html codes on incoming data but dataBound event is working before the html changes (I guess).

    I have to do it after all data is loaded and html changes finished.

    I defined a timer with 100ms on dataBound event and its working for me but I can't trust the timer.

  4. Preslav
    Admin
    Preslav avatar
    574 posts

    Posted 15 Jun 2017 Link to this post

    Hello Mahmut,

    The HTML responsible for the Grid is changed before the dataBound event fires. For example, check this Dojo: http://dojo.telerik.com/AYaMA

    If you need to modify HTML outside the Grid, I would suggest using the jQuery document ready event:

    Regards,
    Preslav
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top