EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 08, 2024, 01:05:16 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
>
Bug Report
>
combogrid loadFilter exception
Pages: [
1
]
« previous
next »
Print
Author
Topic: combogrid loadFilter exception (Read 8158 times)
Stefan B.
Full Member
Posts: 152
Software Architekt
combogrid loadFilter exception
«
on:
March 24, 2015, 06:25:33 AM »
I Test the combogrid with loadFilter and there comes an exception when going in editor mode of datagrid
See:
http://jsfiddle.net/8064xz7z/5/
Logged
jarry
Administrator
Hero Member
Posts: 2262
Re: combogrid loadFilter exception
«
Reply #1 on:
March 24, 2015, 08:49:23 AM »
You have returned a wrong data format from the 'loadFilter' function. Please try this updated example
http://jsfiddle.net/8064xz7z/6/
. It works fine.
Logged
Stefan B.
Full Member
Posts: 152
Software Architekt
Re: combogrid loadFilter exception
«
Reply #2 on:
March 25, 2015, 01:08:56 AM »
OK thanks.
Code:
loadFilter: function(data){
//filter data here ....
return {
total:data.length,
rows:data
}
}
But i think this should be done internal by the combogrid
override the loadFilter method there?
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...