2

I'm trying to use Clarity datagrid with expandable rows: https://vmware.github.io/clarity/documentation/datagrid/expandable-rows

While the animation when expanding a row manually is nice, I have a use case in which I need to render the grid with all rows expanded or with just some of them expanded. In this case the animation is annoying and causes unnecessary flickering. Is there a recommended way to disable it?

1 Answers1

2

Pre-expanded rows with

<clr-dg-row-detail *clrIfExpanded="true">

or

<clr-dg-row-detail *clrIfExpanded="item.expanded">

do not animate: https://plnkr.co/edit/iwrxr80RphYLn96vb2qk?p=preview

You should update your question with an example, because based on my plunker you don't need to disable animations in your case.

Eudes
  • 1,521
  • 9
  • 17