EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 10:19:27 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
>
EasyUI for jQuery
>
How to freeze datagrid selection while filtering
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to freeze datagrid selection while filtering (Read 3583 times)
JPi
Newbie
Posts: 18
How to freeze datagrid selection while filtering
«
on:
December 29, 2016, 04:23:27 AM »
Hi,
I have a datagrid and filtering is enabled using enableFilter method. Now let's take an example like demonstrated below -
checkbox Brand Quantity
checkbox Lenovo 10
checkbox HP 30
checkbox Asus 50
If I filter by brand 'Asus', then record 3 only appears which is correct then I click on checkbox for selecting the Asus row. Once I remove the search criteria i.e. Asus, the data reloads in table with all 3 records and checkbox selection disappears. Is there a way to keep the selected rows intact on filter/ de-filter actions ?
Thanks,
JPi
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: How to freeze datagrid selection while filtering
«
Reply #1 on:
December 29, 2016, 06:59:44 AM »
Please set the 'idField' property for your datagrid.
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...