Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rowClass prop #2058

Merged
merged 3 commits into from
Jun 18, 2020
Merged

Add rowClass prop #2058

merged 3 commits into from
Jun 18, 2020

Conversation

amanmahajan7
Copy link
Contributor

No description provided.

@amanmahajan7 amanmahajan7 self-assigned this Jun 18, 2020
@amanmahajan7 amanmahajan7 requested a review from nstepien June 18, 2020 18:20
@nstepien
Copy link
Contributor

Can you update the changelog as well?

@amanmahajan7 amanmahajan7 merged commit d260935 into canary Jun 18, 2020
@amanmahajan7 amanmahajan7 deleted the am-row-class branch June 18, 2020 18:32
@a222h
Copy link

a222h commented Jan 14, 2021

dont work for me, should i change something or do any thing diffrent?
<DataGrid columns={tableColumns} rows={pageItems} height={1000} sortDirection={sortDirection} sortColumn={sortColumn} onSort={this.handleSortTable} rowClass={(row) => (row.id.includes('7') ? 'type1' : 'type2')} />
nothing added to row element when i checked the dom

@slbchris
Copy link

slbchris commented Feb 7, 2024

Same for me, if I just put rowClass={className} it works fine, but applies the styling to all rows.

I'll open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants