javascript - Issue with jquery select all option -


i have code here need in order make possible multiple selection. now, @ moment optionally, chose single selection or multiple selection, code below:

<span>selection mode: </span> <select onchange="$('#dg').datagrid({singleselect:(this.value==1)})"> <option value="0">single row</option> <option value="1">multiple rows</option> </select><br/> selectoncheck: <input type="checkbox" checked onchange="$('#dg').datagrid({selectoncheck:$(this).is(':checked')})"><br/> checkonselect: <input type="checkbox" checked onchange="$('#dg').datagrid({checkonselect:$(this).is(':checked')})"> 

what can in order make multiple selectable? thanks..

remove that. in page's javascript file, or in embeded <script> block write:

$('#dg').datagrid({singleselect:false}); 

Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -