ng-matero / extensions

Angular Material Extensions Library.
https://ng-matero.github.io/extensions/
MIT License
393 stars 48 forks source link

Data Grid row expansion and collapse not possible programmatically. #223

Closed ajit-chougule closed 11 months ago

ajit-chougule commented 11 months ago

Data Grid row expansion and collapse not possible programmatically.

image

We don't have control to toggle expand or collapse by using true or false flag. Or if it is possible, please let me know.. Thank You......

nzbin commented 11 months ago

Please check this issue https://github.com/ng-matero/extensions/issues/191

ajit-chougule commented 11 months ago

I checked example given in issue #191, and it works for ng-matero v15 and above. but it's not working below v14.

In my case, I need expansionRowStates property. And it is availbale under "import { MtxGrid } from '@ng-matero/extensions/grid';". but this is not available below v14.

Could you please check this ? or any other way is available, Please let me know..

Thank You..

nzbin commented 11 months ago

I'm sorry, there has a break change in v15. You should import MtxGridComponent instead of MtxGrid in v14.

import { MtxGridComponent } from '@ng-matero/extensions/grid';