EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
June 15, 2024, 01:42:48 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 auto-loading
Pages: [
1
]
« previous
next »
Print
Author
Topic: Datagrid auto-loading (Read 11186 times)
Giandomenico Pastore
Newbie
Posts: 9
Datagrid auto-loading
«
on:
February 08, 2013, 04:06:02 PM »
Hi,
it's possible to disable autoloading when datagrid is initialized? I want to set "url" parameter in initialization, but I want execute the request after...
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Datagrid auto-loading
«
Reply #1 on:
February 09, 2013, 06:37:16 AM »
To prevent from loading data, set url property to null. To restore requesting data from server, set url property and call reload method.
Code:
$('#dg').datagrid('options').url = ...;
$('#dg').datagrid('reload');
Logged
Giandomenico Pastore
Newbie
Posts: 9
Re: Datagrid auto-loading
«
Reply #2 on:
February 13, 2013, 02:02:17 AM »
Thanks...
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...