Open saravanannnallasamy opened 6 years ago
As of #644 (griddle-react@1.4.0
), RowDefinition
supports passing a function to cssClassName
that receives the Row
props (example). If you need to calculate a more precise background color, it seems like we should be able to support a similar mechanism to generate style
overrides for a given Row
.
Griddle version
1.9.0
Expected Behavior
set background colour of rows based on a row value on rendering.
Actual Behavior
cant able to set background colour during rendering.
Is there any way to set different colours to row based on a row value,
`<Griddle data={this.state.result} plugins={[LocalPlugin]} sortProperties={sortProperties} styleConfig={styleConfig} pageProperties={{ currentPage: 1, pageSize: 50, recordCount: this.state.result.length }}