EasyUI Forum
March 29, 2024, 08:13:50 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: getSelected & getSelections little bug  (Read 5554 times)
y.bykov
Newbie
*
Posts: 49


View Profile
« on: March 12, 2017, 03:06:11 AM »

If I call
Code:
table.datagrid('selectRow', 0);
on empty data, getSelected will return 'undefined' (was 'null') and getSelections will return array with 1 undefined element ([undefined]) where length = 1.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2260


View Profile Email
« Reply #1 on: March 12, 2017, 05:32:18 PM »

Please download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.5.1-patch.zip
Logged
y.bykov
Newbie
*
Posts: 49


View Profile
« Reply #2 on: March 12, 2017, 11:37:31 PM »

Thank you
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!