EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 09:01:47 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
Bug Report
>
[datagrid] getChecked method works wrong when datagrid includes idField property
Pages: [
1
]
« previous
next »
Print
Author
Topic: [datagrid] getChecked method works wrong when datagrid includes idField property (Read 5425 times)
kingor2001
Jr. Member
Posts: 61
[datagrid] getChecked method works wrong when datagrid includes idField property
«
on:
November 03, 2017, 08:53:15 AM »
If a datagrid includes 'idField' property, the getChecked method work wrong.
That is getChecked method can ‘memory history‘. After the datagrid loadData new data, getChecked Continue to return old checked rows.
«
Last Edit: November 03, 2017, 08:56:30 AM by kingor2001
»
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: [datagrid] getChecked method works wrong when datagrid includes idField property
«
Reply #1 on:
November 04, 2017, 07:53:33 PM »
That's not a bug. When the 'idField' is set, all the selected and checked rows will be stored through pages. You should call 'clearSelections' or 'clearChecked' methods to clear them manually.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...