material-table icon indicating copy to clipboard operation
material-table copied to clipboard

Tree data icon style

Open RobelTekle opened this issue 7 years ago • 7 comments

If I active the tree-data option, how can I set the arrow icon style according to row data ? Using options.rowStyle I have no access to arrow_icon

RobelTekle avatar Jun 12 '19 14:06 RobelTekle

Hi @RobelTekle ,

Currently you can't, Why do you need a feature like this?

mbrn avatar Jun 13 '19 08:06 mbrn

Hi @mbrn , I'm using tree-data for my table, and I need to give a style to my rows according to their position/level in the tree (parents and children have different style). And the style concern the arrow icon too.

RobelTekle avatar Jun 13 '19 09:06 RobelTekle

I will think a solution for this case. It can be useful for other users too.

mbrn avatar Jun 13 '19 11:06 mbrn

I would appreciate some styling options in general, I am trying to reduce vertical row padding, but the default iconButton is hindering me.

gianlucamateo avatar Jun 13 '19 14:06 gianlucamateo

I have this problem too. is there a solution?

farzad-jafari avatar Oct 16 '19 12:10 farzad-jafari

I also want to change the tree expand icon according to the row

gauravsoti1 avatar Dec 16 '19 17:12 gauravsoti1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Jun 15 '20 09:06 stale[bot]