TDo
TDo

Reputation: 744

Conflicting styles from cellStyle and rowStyle in ag-Grid

I am just wondering if there is a conflict between cellStyle and rowStyle in ag-Grid, which will win?

I have seen situations cellStyle wins but there are also situations rowStyle wins. I am kind of confused.

Upvotes: 1

Views: 662

Answers (1)

Paritosh
Paritosh

Reputation: 11560

CellStyle wins. Check this plunk: https://plnkr.co/edit/0FsGwddhbdYVdzEA

So the precedence will be in below sequence - in ascending order

   1. Row Style
   2. Column Style
   3. Cell Style

Upvotes: 1

Related Questions