How to render the HTML inside a row in ag-grid?
问题 Is there any api or something using which I can render HTML inside a row. I'am able to bind simple html but my HTML is dynamic and contains some angular directives so, how can I render that HTML in ag-grid. 回答1: Add to the columnDefs of specific column which cells contain HTML: cellRenderer: function(params) { return params.value ? params.value : ''; } This fools ag-grid to think you are rendering column by your own function (which you technically are). 回答2: use cellRenderer for your custom