javascript - Select one checkbox row only in datatables -


i want able select 1 checkbox @ time in datatables.

in example below, multiple rows can selected. how can go allowing 1 row selected @ time?

http://datatables.net/examples/api/form.html

you use radio buttons instead of checkboxes.

example:

<input type="radio" name="fieldname" value="check1" /> <input type="radio" name="fieldname" value="check2" /> <input type="radio" name="fieldname" value="check3" /> <input type="radio" name="fieldname" value="check4" /> 

the "name" attribute groups radio buttons together, "value" attribute differentiate them.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -