Bind Header checkbox in Bootstrap Table to control the row checkboxes

Hi All,

As the title suggests, I have a Bootstrap table:

What I want to do is bind the header checkbox to function like "select all " or “deselect all” for the row checkboxes. With no luck so far, this is what I have tried.

On click of the header check box

I’m adding a select action on the row, but I’m confused as to what should be the “check” value here

But I’m afraid I’m not sure how to proceed forward. What’s the ideal way to achieve what I’m trying to?

Community Page
Last updated: