Is there a way to change the header of the expandableRow Column in ui-grid? I'm having trouble figuring out how.
https://i.sstatic.net/ZbDYj.png
Specifically, I am referring to the circled plus symbol in the image above. I want to replace this with a different button that serves a completely separate function.
I tried adding my own columnDef with field: "expandableRow"
and a headerCellTemplate
, but it resulted in an error about duplicated fields (and broke my grid). I couldn't find any information about this in the documentation. Can anyone guide me on how to add a template file to customize what is shown in the cell?
EDIT: Just to clarify, I don't want to entirely remove the column as suggested in another similar question. I still want to keep the expanding rows functionality. My only objective is to modify the expand all button highlighted in the image above.