Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
Check boxes in row and column headers
posted

Hi,

We have a grid with one string column and rest all are check box columns.

We are trying to improve the user experience by providing check boxes for selecting / deselecting all in the corresponding column / row headers.

The row header should show the string column value for that row and all other cells will display checkboxes.

selecting/ deselecting a header checkbox for a column does appropriate action for all the rows.

Similarly , selecting/deselecting a checkbox in row header will do appropriate action for all cells in that row.

Getting checkboxes in column headers is quite easy. We need to tweak with some properties of column to get that done.

I am struggling with displaying headers for row. I looked into some samples and made 

I could manage the Rowselectors to display a text using DrawFilter but I feel that its not much flexible to include the checkbox in the row selector.

Later I set the style of the identifier column to Button and could display the items in the string column similar to row header.

Now I need to place a checkbox in the same cell to provide a select/deselect all option for the entire row.

I have also tried using CardView for Band but didnt find it much useful. 

Can anybody guide me on how to achieve this.

Thanks,

Satish