Filtering in a combobox

510 views
Skip to first unread message

Suraj Gagain

unread,
Nov 10, 2009, 11:02:50 AM11/10/09
to Flex India Community
Hi all,
I really need ur help.
Actually i am trying to create a combox component on which we can
write and as we shall write drop down coulmns in that would go on
filtering.
like in a combox i hv six columns like
akash,akshay,amaresh,drive,dread
and when i will click on it and press a then it will filter columns to
akash,akshay and amaresh and then i should be able to write k after a
and on that i would be able to filter out one more coulmn amaresh and
so on...........
hope u can understand my requirement .........kindly respond as soon
as u can.
Thanks in advance,
Suraj Gagain

sankar swaroop

unread,
Nov 10, 2009, 12:29:45 PM11/10/09
to flex_...@googlegroups.com
Hi
U can achive this by following 3 steps:
1. Make combobox editable=true(By this u can type in combobox)
2.Use change event for combobox
3.In this event make dropdown and filter arraycollection which is a dataprovider to ur combobox.
http://blog.flexexamples.com/2008/03/12/using-a-combobox-to-filter-items-in-a-datagrid-in-flex/
Use this link to understand arraycollection filter functionality
Hope this gives u some idea

Suraj Gagain

unread,
Nov 11, 2009, 5:16:31 AM11/11/09
to Flex India Community
Thanks Sankar.. that was quite helpful

On Nov 10, 10:29 pm, sankar swaroop <sankaras...@gmail.com> wrote:
> Hi
> U can achive this by following 3 steps:
> 1. Make combobox editable=true(By this u can type in combobox)
> 2.Use change event for combobox
> 3.In this event make dropdown and filter arraycollection which is a
> dataprovider to ur combobox.http://blog.flexexamples.com/2008/03/12/using-a-combobox-to-filter-it...
> Use this link to understand arraycollection filter functionality
> Hope this gives u some idea
>
> On Tue, Nov 10, 2009 at 9:32 PM, Suraj Gagain <suraj.gag...@gmail.com>wrote:
>
>
>
>
>
> > Hi all,
> > I really need ur help.
> > Actually i am trying to create a combox component on which we can
> > write and as we shall write drop down coulmns in that would go on
> > filtering.
> > like in a combox i hv six columns like
> > akash,akshay,amaresh,drive,dread
> > and when i will click on it and press a then it will filter columns to
> > akash,akshay and amaresh and then i should be able to write k after a
> > and on that i would be able to filter out one more coulmn amaresh and
> > so on...........
> > hope u can understand my requirement .........kindly respond as soon
> > as u can.
> > Thanks in advance,
> > Suraj Gagain- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages