Topic: Individual row styling in table
Byungsoo Kim asked 4 years ago
Hi there, I'm using MDBReact, especially MDBDataTable. I want to put some classes name on a row() of MDBDataTable. Is there any way that I can define class name on it?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Open
Specification of the issue
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.27.0
- Device: Macbook
- Browser: Chrome
- OS: Mac OS
- Provided sample code: No
- Provided link: No
Tags
Related topics
Piotr Glejzer staff commented 4 years ago
for the each row or specific row?
Byungsoo Kim commented 4 years ago
I mean on TR of table. would say for the each row. I'd like to make the TR tags have classname on itself if something is true in an iteration.
Piotr Glejzer staff commented 4 years ago
I understood. There is not possible to do it now. There are only options to add attributes to the table head but this is not what you want, I know. Sorry about that. I added the task to add this in the future release.
Byungsoo Kim commented 4 years ago
Thank you for reply and adding this for the future release. I am looking forward to seeing it added soon.
Piotr Glejzer staff commented 4 years ago
Thanks! Have a nice day
kakapo commented 4 years ago
I need to do this too, and in general think this would be great functionality to have. I had to slow down my dev time to roll my own component because of this missing feature.
Piotr Glejzer staff commented 4 years ago
It's still in our case to do. We didn't have a release to fix this problem.
Piotr Glejzer staff commented 4 years ago
It's still in our case to do. We didn't have a release to fix this problem.