Filter with checkbox


i attempting build filter add or remove items datagrid. 2 fields filter categories , locations. filter 2 fields checkbox each field. here example. user selects location filters categories available @ location, filters datagrid. user selects category filters datagrid. if user removes check mark, filtered data removed datagrid. filter has ability display items.

1) checkboxe's click event can point same event listener
2) event.currenttarget tell checkbox has been clicked on
3) you'd need maintain list of checked boxes
4) implement filter function based on list , set filterfunction property of arraycolleciton you're using populate datagrid

hope helps.

atta


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