Skip to content

DataGrid css isolation RowClass #1757

Answered by avojacek
avojacek asked this question in Q&A
Discussion options

You must be logged in to vote

So if I need to have CSS isolation for my component and use classes from isolated CSS inside component code. I have to se custom css scope like this

<ItemGroup>
  <None Update="Components/Pages/*.razor.css" CssScope="custom-scope-identifier" />
</ItemGroup>

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Lindsay-Mathieson
Comment options

Answer selected by avojacek
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