In master/detail example, the expand/collapse icon is always present when setting [masterDetail]=true
. However, my data sometimes does not have detail rows and I would like to hide the chevron in this situation. In my example, callRecords property would be present on the data but it would be null:
getDetailRowData: function(params) {
params.successCallback(params.data.callRecords);
},
How can I not show the chevron on master grid when the data is null? Note: the example visible here: https://www.ag-grid.com/javascript-grid-master-detail-detail-grids/#detail-grid-options