are jigar tune bhee group join kar liya ...gr8
but yaar we did not get help on this topic  :(


On Jan 30, 6:56 pm, sankar swaroop <[email protected]> wrote:
> HI,
>  if u use attaycollection as dataprovider for the ADG then u can achieve
> this.
>
> for example AC:ArrayCollection is the dataprovider for ur ADG
> txtSearch is the id of TextInput that u type for search.
> then
> function filterADG():void
> {
>     AC.filterFunction = filterAC;
>    AC.refresh();}
>
> function filterAC(obj:Object):Boolean
> {
>    if(obj.id.toString().toLowerCase().search(txtSearch.text.toLowerCase) !=
> -1)
>    return true;
>    else 
> if(obj.status.toString().toLowerCase().search(txtSearch.text.toLowerCase)
> != -1)
>    return true;
>    else
>    return false;}
>
> call filterADG() function in change event of TextInput
> this will work for both on id & status when u type for search in TextInput
>
> Thanks.
>
>
>
> On Sat, Jan 30, 2010 at 3:13 AM, jigs <[email protected]> wrote:
> > Hello,
>
> > I am just started development with Flex 3.
>
> > I have requirements to do the multiple filtering in the grid. I am
> > using the Advance Data Grid.
>
> > I have to implement functionality like currently available in excel
> > 2007 for multiple filtering.
>
> > E.g. I have 5 columns in ADG.
>
> > id, name,age,notes,status.
>
> > Now, i want to do the filter records with particular ids, and status
> > out of available records. How can i achieve this functionality ?
>
> > Thanks,
> > Jigs.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Flex India Community" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<flex_india%2bunsubscr...@googlegrou­ps.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/flex_india?hl=en.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to