Hello, I try to style a table rows with this
bodyCellClass: ({ row, column, rowIndex }) => { if (column.title === "abc") { return "alignment-by-padding"; } if (rowIndex || !rowIndex) { return "table-primary-color"; } },
With this code I expect that a column with title abc would have both classes alignment-by-padding and table-primary-color.
But that does not work. It returns only one class alignment-by-padding or table-primary-color, cannot return both simultaneously.
Is there a way to fix that?
Hello, I try to style a table rows with this
bodyCellClass: ({ row, column, rowIndex }) => { if (column.title === "abc") { return "alignment-by-padding"; } if (rowIndex || !rowIndex) { return "table-primary-color"; } },
With this code I expect that a column with title abc would have both classes alignment-by-padding and table-primary-color. But that does not work. It returns only one class alignment-by-padding or table-primary-color, cannot return both simultaneously. Is there a way to fix that?