EasyUI Forum

General Category => Bug Report => Topic started by: y.bykov on March 12, 2017, 03:06:11 AM



Title: getSelected & getSelections little bug
Post by: y.bykov 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.


Title: Re: getSelected & getSelections little bug
Post by: jarry 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


Title: Re: getSelected & getSelections little bug
Post by: y.bykov on March 12, 2017, 11:37:31 PM
Thank you