Title: Datalist singleSelect Post by: jega 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. Title: Re: Datalist singleSelect Post by: stworthy 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.
Title: Re: Datalist singleSelect Post by: jega on October 09, 2016, 07:17:19 AM Hi stworthy
You haven't read my text proberly. 8) Have set: singleSelect: true But i still can choose multi rows Title: Re: Datalist singleSelect Post by: stworthy 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
Title: Re: Datalist singleSelect Post by: jega 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. |