Hi Sander

I think this is the approach I was going to take where the ng-change=
filterOn  calls a function that I create in my main apps page, right? For
the part where you say "add this to your select
ng-change='filterOn={};filterOn[selectedCol]=
searchText}'" should my ng-change call the function simply like "
ng-change=filterOn()" or should it be
ng-change="filterOn={};filterOn{[selectedCol]= searchText}". To be sure I'm
understanding this correctly, the filtering happens when the function is
executed returning the array of filtered records, right?...I will create
and post the function that I'm thinking of. I appreciate your reply.

Thanks


On Thu, Nov 13, 2014 at 11:39 PM, Sander Elias <[email protected]>
wrote:

> Hi Drew,
>
> Create an object by hand and use that.
>
> add this to your select ng-change="filterOn={};filterOn[selectedCol]=
> searchText}"
> and change the filter to use the filterOn object.
>
> Regards
> Sander
> ​
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/-MSRsjpygnM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to