EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 05, 2024, 12:32:26 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Datagrid Filter error
Pages: [
1
]
« previous
next »
Print
Author
Topic: Datagrid Filter error (Read 3968 times)
JPi
Newbie
Posts: 18
Datagrid Filter error
«
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
Logged
jarry
Administrator
Hero Member
Posts: 2262
Re: Datagrid Filter error
«
Reply #1 on:
October 17, 2016, 02:52:12 AM »
Please show an example to demonstrate your issue.
Logged
JPi
Newbie
Posts: 18
Re: Datagrid Filter error
«
Reply #2 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.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...