EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Alfred on October 05, 2020, 10:56:08 AM



Title: Row cannot be selected if cell editing is enabled
Post by: Alfred on October 05, 2020, 10:56:08 AM
If I enable cell editing, row can no longer be selected. Is this a normal behaviour or a bug?

Code:
$('#ledger').datagrid({
    clickToEdit: true,
 }).datagrid('enableCellEditing').datagrid('gotoCell', {
    index: 0,
    field: 'voucher'
 });

Row can no longer be single selected.

Thanks.


Title: Re: Row cannot be selected if cell editing is enabled
Post by: jarry on October 06, 2020, 01:41:15 AM
The 'enableCellEditing' method will switch to cell editing mode. Please call 'disableCellEditing' method to restore to row selecting mode.