Checkbox doesn't hold value
Checkbox doesn't hold value
amweiss98
Posts: 12Questions: 4Answers: 1
I'm using the Always Shown Checkbox example..but while sometimes it will send data successfully to the server, it never shows the checkbox is checked. Here is a working example:
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Looks like you need to disable inline editing for that column.
Change the selector for this:
To this:
'tbody td:not(:first-child), :nth-child(4)'
I think that should help.
Kevin
thanks..ok..I just did that..but now 2 things are still not working...first, when you check off 1 box and then move to another it unchecks the first box...second, it only sometimes works to add the data to the database, third, if you refresh the page after checking some off, the checkboxes all go to unchecked.
It still looks like the inline editor is being invoked (when the box moves). I may have mis-counted the columns. Try
:nt-child(3)
instead.Kevin
Well, I wish worked, but it still has the same problems.
I missed it the first time but you aren't submitting the inline changes. Try changing to this:
Looks like the column should be 4 :-)
Kevin
ok...for this work it looks like this disabling selector needs to look like this
'tbody td:not(:first-child):not(:nth-child(4))'