EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 02, 2024, 04:30:30 PM
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
>
General Discussion
>
the datagrid's getChecked() dos not work right
Pages: [
1
]
« previous
next »
Print
Author
Topic: the datagrid's getChecked() dos not work right (Read 5229 times)
cdtuql
Newbie
Posts: 26
the datagrid's getChecked() dos not work right
«
on:
February 23, 2017, 01:25:44 AM »
when I check the datagrid on the title and uncheck all the rows later the getchecked method return a row (the last row)。
the code like :
columns:[[
{field:'checkf',title:'checked',width:150,checkbox:true},
var rows = $('#BaseInfo_Gasdispenser_datagrid').datagrid('getChecked');
thanks
Logged
jarry
Administrator
Hero Member
Posts: 2262
Re: the datagrid's getChecked() dos not work right
«
Reply #1 on:
February 23, 2017, 07:31:04 AM »
Please look at this example
https://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=CheckBox%20Selection%20on%20DataGrid
. It works fine.
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...