EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 20, 2024, 10:16:35 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
>
General Discussion
>
How can get current datagrid options?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How can get current datagrid options? (Read 6149 times)
contestant
Newbie
Posts: 40
How can get current datagrid options?
«
on:
March 12, 2015, 02:11:35 AM »
Hi
I want to get current datagrid options on editing inline to get some attributes like url and etc...
Thank you for correct replies.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: How can get current datagrid options?
«
Reply #1 on:
March 12, 2015, 02:21:12 AM »
Call 'options' method to get the datagrid's options.
Code:
$('#dg').datagrid({
onBeginEdit:function(){
var opts = $(this).datagrid('options');
//...
}
});
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...