Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

Disable row selection

$
0
0

Hi!
One more question.... I have the following conditional code:
```{

                    "data": "cdi_calendar_changes.active",
                           "render": function (val, type, row) {
                               return val == 0 ?
                                  "<font color=red><b>LOCKED</b></font>"  : "<input type=checkbox className=select-checkbox>"

                               orderable: false
                           }
                       },```

Problem is that the row that displays the Locked message can still be selected. But I need the selection functionality disabled.
Any suggestion?

Thanks!


Viewing all articles
Browse latest Browse all 2364

Trending Articles