How to add a checkbox for filtering one column value ?

How to add a checkbox for filtering one column value ?

smassotsmassot Posts: 28Questions: 9Answers: 1

Hello,
could you give me an example to add a button checkbox for filtering one column value ?
I tried to search in your example but I didn't found that.

I just want to add a checkbox in buttons, when I checked it I want to see one column value
(if checked see value 3 in row 3 for example)

Thanks a lot for your help.

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    I just want to add a checkbox in buttons

    You want a checkbox in a button? Or you want a button to act like a checkbox?

    For the latter, that can readily be done using the API - simply call column().search() in the buttons.buttons.action function. You can also use button().active() to make it look active or not.

    See also the custom buttons documentation.

    Allan

  • smassotsmassot Posts: 28Questions: 9Answers: 1

    Thanks a lot Allan, it's ok problem solved :) have a nice day.

This discussion has been closed.