Prevent multi selection with radio button
Prevent multi selection with radio button
silente13
Posts: 2Questions: 1Answers: 0
Hello,
When I select a radio button in a page 1 and one in the same page it's work fine.But when select one in page 2, and go back to the page number 1, that first radio button still selected and the one in the page number 2 is also selected. I tried use the fnDrawCallback,but it uncheck all radio buttons. I want the last button still selected, any ideas?
This discussion has been closed.
Answers
Without seeing your code its hard to be specific but I would look at creating a click event and when a radio button is clicked clear all radio buttons then set the one that is clicked.
Maybe you can post a test case showing your code and the problem:
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
The case is this: live.datatables.net/dabayiqa/1/edit.
If you check a radio in first page and one in the others and then come back the radio is still selected.