How to add row / delete row effect in datagrid

how do we add an effect to a datagrid when we add or delete any row.

Thanks Atul yadav

+3
source share
2 answers

This is not supported in Flex 4.6.

On the other hand, the effect is supported on MX List and MX TileList elements if you can use them instead of a DataGrid. In these controls, you can specify the effect using the itemsChangeEffect parameter, such as DefaultListEffect, which fades and collapses the line when deleted.

+1
source

Use the 'addedEffect' and 'removedEffect' properties for a DataGrid. Define the effect, then use it. Smth like this:

<mx:EffectName id='effectId' here effect properties/>
<mx:DataGrid addedEffect='effectId'/>
0
source

Source: https://habr.com/ru/post/1732487/


All Articles