EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 14, 2024, 04:21:57 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
>
Checkboxes In Datagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: Checkboxes In Datagrid (Read 5096 times)
Darrel
Jr. Member
Posts: 74
Checkboxes In Datagrid
«
on:
February 13, 2016, 11:54:38 AM »
Hello,
I have some questions regarding checkboxes in datagrid,
1) Is it possible to select all the checkboxes of the datagrid on load of the page or on click of a button including the one in the header section?
2) If the header checkbox is checked, then is it possible to keep the checkboxes in the datagrid body checked even when I switch the pages using pagination?
Regards,
Darrel
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Checkboxes In Datagrid
«
Reply #1 on:
February 13, 2016, 05:41:19 PM »
1. Call 'checkAll' method to check all the checkbox in the page when loaded data successfully.
2. Set the 'idField' property for the datagrid, the checked rows will be held even though the user navigates to other pages.
Logged
Darrel
Jr. Member
Posts: 74
Re: Checkboxes In Datagrid
«
Reply #2 on:
February 15, 2016, 09:48:25 AM »
Hello stworthy,
Thanks a lot for your reply.
Regards,
Darrel.
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...