Skip to content

A different way to style rows #3086

Answered by nstepien
nardove asked this question in Q&A
Nov 18, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

You can set the className or style prop on the root DataGrid component like a normal div, or you can use the rowClass prop as a function that returns a class name.
How you define your CSS styles and class names is up to you.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nardove
Comment options

@nardove
Comment options

Answer selected by nardove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants