SlickGrid filter not working after calling jquery dialog -


i calling jquery dialog tabs.(popup tabs | jquery). when call popup slickgrid filter not working.ie., datarows.length null..before callng jquery dialog,filter works fine..let me know hve change code..here code snippet filter

    $(grid.getheaderrow()).delegate(":input", "change keyup", function (e) {           if ($(this).data("columnid") != null) {              alert($(this).data("columnid")+"---"+$.trim($(this).val()));         columnfilters[$(this).data("columnid")] = $.trim($(this).val());         dataview.refresh();          }else{              alert("else in delegate");//comes here           }       });    function filter(item) {           (var columnid in columnfilters) {                 if (columnid !== undefined && columnfilters[columnid] !== "") {                     var c = grid.getcolumns()[grid.getcolumnindex(columnid)];                     if (item[c.field].tostring().tolowercase().indexof(columnfilters[columnid].tostring().tolowercase()) !=0) {                         return false;                     }                 }             }         return true;       }  


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -