Checkbox/Change row color

Checkbox/Change row color

LuddeLudde Posts: 43Questions: 11Answers: 0

Hello,

This is my issue:

1) I would like to be able to select row from column 2 and forward, but I do not want the checkbox to be ticked for the rows selected.
2) And when I tick a checkbox the selected rows should not be changed

I have done an example where the checkbox is ticked when you selected row.
https://jsfiddle.net/2knvdb6z/

Cheers L

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,344Questions: 26Answers: 4,954
    Answer ✓

    Sounds like you don't want to use the select-checkbox of the Select extension. To have a standard checkbox remove this config and add a checkbox input.

            columnDefs: [ {
                orderable: false,
                className: 'select-checkbox',
                targets:   0
            } ],
    

    This example shows one way to create a simple checkbox without the Select extension.

    Kevin

  • LuddeLudde Posts: 43Questions: 11Answers: 0

    Thanks kthorngren for pointing me in the correct direction! You are super!

    Cheers L

Sign In or Register to comment.