Angular Grid ag-grid columnDefs Dynamically change
I have a problem about columnDefs change dynamically. Here is my gridOptions:
$scope.gridOptions = {
columnDefs: [],
enableFilter: true,
rowData: null,
rowSelection: 'multiple',
rowDeselection: true
};
And when I retrieve data from server:
$scope.customColumns = [];
$http.post('/Home/GetProducts', { tableName: 'TABLE_PRODUCT' }).…