Title: Datagrid Filter error Post by: JPi on October 17, 2016, 02:27:21 AM Hi,
I am trying to load datagrid on initialization of my project and I am getting the below error for a specific datagrid loading. What could be the possible cause for this ? Unable to set property 'filterSource' of undefined or null reference Snippet from datagrid-filter.js var oldLoadDataMethod1 = $.fn.datagrid.methods.loadData; $.fn.datagrid.methods.loadData = function(jq, data){ jq.each(function(){ $.data(this, 'datagrid').filterSource = null; ---> error line }); return oldLoadDataMethod1.call($.fn.datagrid.methods, jq, data); }; Thanks, JPi Title: Re: Datagrid Filter error Post by: jarry on October 17, 2016, 02:52:12 AM Please show an example to demonstrate your issue.
Title: Re: Datagrid Filter error Post by: JPi on October 17, 2016, 03:29:28 AM My bad. Forgot to mention that the datagrid is of class="easyui-datagrid". Now working as expected.
|