kevink responded: |
2015-06-29 10:02 |
Unfortunately, the select all checkbox is baked into the DataRegion rendering and wasn't intended to be used in other columns. If you want to render something in the column header, you'll need to create your own DisplayColumn and override renderGridHeaderCell(). Can I ask what you're trying to do? |
|
Jinze An responded: |
2015-06-29 10:11 |
I created a custom DisplayColumn that renders boolean values as checkboxes. Now I just need a way to select all/deselect all for that column. It looked like a lot of intricate work to override renderGridHeaderCell so I was wondering if there was some way I could port the leftmost column code into my column but it doesn't seem like that would work. |
|
Jon (LabKey DevOps) responded: |
2015-06-30 00:10 |
Hi Jinze,
Just curious, but have you thought about possibly creating a custom button within the button bar that could act as the select all/deselect all for the checkboxes in lieu of having a select/deselect all checkbox?
Regards,
Jon |
|
Jinze An responded: |
2015-06-30 06:09 |
That's an interesting approach that I hadn't thought of. I'll have to check with my supervisor to see if he's willing to go with that option before I explore it, though. Thank you for the suggestion |
|