ui-grid
ui-grid copied to clipboard
cellTemplate overrides my rowTemplate
Couldnt find anything related in the docs.
I have a rowTemplate that sets the background color of the row based on a value. It works fine until I set a custom Template for a specific cell , a boolean that I want to display as a checkbox.
This question in stackoverflow describes it 👍 https://stackoverflow.com/questions/47468933/rowtemplate-gets-overriden-by-cell-template-in-ui-grid
I have also tried setting a custom cellClass and it works just as the rowTemplate : it displays the desired background color but the moment I set the cellTemplate to show a checkbox it stops coloring the background.