EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 17, 2024, 08:29:54 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
>
refresh combogrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: refresh combogrid (Read 17610 times)
Ellipsis
Full Member
Posts: 113
refresh combogrid
«
on:
October 05, 2012, 12:42:38 AM »
How do I reload the data in the combogrid?
I tried retrieving the grid object (.combogrid('grid')) and on this object Itried calling a load with new parameters.... No luck (.combogrid('grid').datagrid('load',{parameter:value})
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: refresh combogrid
«
Reply #1 on:
October 05, 2012, 06:01:34 AM »
It seems that there are no problems with your codes.
Logged
Ellipsis
Full Member
Posts: 113
Re: refresh combogrid
«
Reply #2 on:
October 05, 2012, 07:48:25 AM »
Strange, could you make a jsfiddle example please?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: refresh combogrid
«
Reply #3 on:
October 05, 2012, 10:37:25 PM »
Here is the jsfiddle example:
http://jsfiddle.net/zkQ3X/
Logged
Ellipsis
Full Member
Posts: 113
Re: refresh combogrid
«
Reply #4 on:
October 08, 2012, 02:49:56 AM »
Thank you, this example works fine.
But what I was looking for was with the use of an external JSON source.
Nothing happens:
jQuery('#pfx_classSearchField').combogrid('grid').datagrid('load',{catalogNumberOrDescription:courseDataArray['Studiegidsnummer']});
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: refresh combogrid
«
Reply #5 on:
October 08, 2012, 05:51:42 AM »
As a demonstration, loading external data source can not be hosted on jsfiddle. But these have no more differences.
Please check if the request parameter can be posted to server correctly when calling 'load' method. If so, make sure your server can receive this parameter and return the corresponding data back to browser.
Logged
Ellipsis
Full Member
Posts: 113
Re: refresh combogrid
«
Reply #6 on:
October 18, 2012, 12:49:18 AM »
Ok got it working, thank you.
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...