DataGrid mutilple select question?


hi,

multiple selection allowd when set allowmultipleselection=true in datagride, question how collect multiple selected value in code.please give me simple demo.

thanks

mark

datagrid.selecteditems or datagrid.selectedindices contain data items or indices. of array type.

var itemsselected:array = mydatagrid.selecteditems;

for each(var item:object in itemsselected)
{
//do processing ....
}


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support