문제

In a Flex DataGrid, you can delete a row using

[Objectname].removeSelectedIndex();

But this function is missing in the Flexicious DataGrid. Is there any other way / function to delete a row in flexicious?

도움이 되었습니까?

해결책

You do not have to remove a row from the datagrid. Datagrid rows are generated according to the elements inside the .dataProvider (object collection)

To remove one "row" you have to remove the element in the .dataProvider.

Depending on what "type" your .dataProvider is you <> be able to do

  grid.dataProvider.removeItemAt(index);

Check

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/data/DataProvider.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top