EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 15, 2025, 06:25:11 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
>
Datalist singleSelect
Pages: [
1
]
« previous
next »
Print
Author
Topic: Datalist singleSelect (Read 9238 times)
jega
Full Member
Posts: 225
Datalist singleSelect
«
on:
October 08, 2016, 02:24:11 PM »
Can't get singleSelect to work
<div id="scanEventID" class="easyui-datalist" title="Scan Event" style="width:600px;height:250px" data-options="
url: 'getfromdb.asp?st=scaneventlist&showall=false',
method: 'get',
checkbox: true,
singleSelect: true,
selectOnCheck: false,
checkOnSelect: false,
idField: 'ID',
textField: 'name',
toolbar:'#toolbarEventID'
">
</div>
Still can select more than one row.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Datalist singleSelect
«
Reply #1 on:
October 08, 2016, 05:03:38 PM »
You have set the 'singleSelect' property to true. This means that you can only select single row at a time. To select multiple rows, please set 'singleSelect' to false.
Logged
jega
Full Member
Posts: 225
Re: Datalist singleSelect
«
Reply #2 on:
October 09, 2016, 07:17:19 AM »
Hi stworthy
You haven't read my text proberly.
Have set: singleSelect: true
But i still can choose multi rows
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Datalist singleSelect
«
Reply #3 on:
October 09, 2016, 08:03:16 AM »
Once you set the 'singleSelect' property to true, you can only select one single row. Please look at this example
http://code.reloado.com/esamik/edit#html,live
Logged
jega
Full Member
Posts: 225
Re: Datalist singleSelect
«
Reply #4 on:
October 09, 2016, 10:53:12 AM »
Ahh sorry.
I have taken mistake of what was singleselect. Yes it works fine.
What i was looking for was to only have one checkbox selectet at a time.
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...