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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -