0
votes

Any one have experience in customizing the ag-grid expand/collapse icons in the tree view. I've trolled SO, and the ag-grid support portal with no luck. Discussion inside https://www.ag-grid.com/javascript-grid-cell-rendering/#gsc.tab=0 did not appear to cover.

Current behavior shows +/-. I would like to change the appearance to (my company standard) of up/down v up/down arrows

Code would be great, but declarative no would be valuable.

1

1 Answers

5
votes

You must have just missed this page of the docs.

var gridOptions = {
    ...
    icons: {
        groupExpanded: '<img src="down.png" style="width: 15px;"/>',
        groupContracted: '<img src="up.png" style="width: 15px;"/>'
    }
}