JQuery Grid not firing dataBound event

2 posts, 1 answers
  1. Eugenio
    Eugenio avatar
    3 posts
    Member since:
    Sep 2020

    Posted 17 Sep 2020 Link to this post

    Hi, I browsed across several similar questions without finding what am I doing wrong:

     

    In Kendo JQuery Grid, I'm not being able to get dataBound event work even in this trivial example(attached). However, the dataBinding event is being fired as expected. What's wrong?
    (Can't find any meaningful difference compared with the Telerik grid event demo. https://demos.telerik.com/kendo-ui/grid/events)
    Any hint will be greatly appreciated.

     

  2. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    2153 posts

    Posted 21 Sep 2020 Link to this post

    Hi Eugenio,

    The problem is the dataBound configuration option is set with lower case "b":

    databound: function (e) {
      console.log("dataBound");  //Not firing
    },

    It should be set with upper case "B":

    dataBound: function (e) {
      console.log("dataBound"); 
    },

    Regards,
    Ivan Danchev
    Progress Telerik

    Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Back to Top