How to add Wcheckbox on Table header row
We want to display checkbox in a Table header column as its item instead of String. I tried using WStandardItem as WCheckbox. But it still renders them as String/Object.
Requirement is to select all the checkboxes with in a column on a table when user selects checkbox on a header row.
For reference attached image file with highlighted by orange colour.
We are using model.setHeaderData(index, Orientation.Horizontal, value) line of code to Set header data for a column.
Please assist to add checkbox on header row and how to get action listener if user selected/unselected checkbox.