EasyUI Forum
May 20, 2024, 10:16:35 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How can get current datagrid options?  (Read 6149 times)
contestant
Newbie
*
Posts: 40


View Profile Email
« 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


View Profile Email
« 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  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!