ListView data is null when dataBound event fires

1 posts, 0 answers
  1. David Ching
    David Ching avatar
    11 posts
    Member since:
    Sep 2007

    Posted 05 Mar 2013 Link to this post

    $(document).ready(function () {
              dataBound: function (e) {
                  var listView = $("#listview");
                  if (!listView) {
                      alert("listView null");
                  var listData ="kendoListView");
                  if (!listData) {
                      alert("listData null");
    The above code shows "listData null".  I need to access .data() and thought the purpose of the dataBound() event was to indicate when I could do so.  What event should I use if not this one?


    EDIT:  I'm sorry, it was my mistake.  I should have typed "listView" instead of "listview".  After this change, I can access .data() from the dataBound() event handler.
Back to Top