EasyUI Forum
November 05, 2025, 03:39:34 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: datagrid() method not working in IE on: May 12, 2015, 11:38:08 PM
Hi Jarry,

Thank you for the reply. I am using the same logic as the example you mentioned. It works perfectly in Mozilla and Chrome but not in Explorer.

2  General Category / EasyUI for jQuery / datagrid() method not working in IE on: May 12, 2015, 03:13:42 AM
Hi,

I am using datagrid("getSelections") method to select the value of the whole selected row(s), and it works perfectly in Mozilla and Chrome but not in Explorer. In explorer $('#dg').datagrid('getSelected') returns null if I select one row. Please find below the code I am using.

if ($('.datagrid-cell-check input:checkbox:checked').length>1){
                  showInfoMsg('Select only one row to edit.');
                  }else{
               var row = $('#dg').datagrid('getSelected');
                   if (row){
                      document.location.href = "updColumn.cfm?col_id="+row.col_id+"&rpt_id=#getParam("rpt_id")#";
                   }
                   else {
                     showInfoMsg('Select a row you want to edit.');
               }
                  }
Please tell me if this is an existing problem in explorer and if there is an work around.

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!