Accessibility to nested rows

Tags: #<Tag:0x00007fd2bf16f050>

Hey, I have table with nested rows and I need to achieve something like this:

So main things:

  1. styles of nested row elements must be different than in main rows (give text in cells italic etc)
  2. is possible to change +/- button to similar when we expand view?

Hey @damianl

we do not have any official API to change the styling for this element.

  1. styles of nested row elements must be different than in main rows (give text in cells italic etc)

An important question to ask before giving an answer is: are you/client is going to move the rows or be able to add rows?

Hey @aleksandra_budnik

  1. only for view (readonly)
  2. thanks :slight_smile:

only for view (readonly)

That makes it easier :wink:

You can use the cells option to attach classNames for particular rows

https://jsfiddle.net/f178ua96/

@aleksandra_budnik

One more question. What if I want to change styles of elements in nested rows, but I don’t know if there are nested rows or how many there are :confused:

What styles exactly? Please give me one or two examples and I’ll check what can be done.

I think that we can close the issue as there’s no response for more than 2 weeks.