ui grid custom filter generalisation

20 Views Asked by At

We have implementation of ui grid custom filter as per in the lonk below: However we want to generalize the implementation so that it can be used it with multiple columns.

However we still couldnt figure it out how directive can come to know from which column filter is getting applied. Even after trying multiple options still no succes. Any pointers will be really helpful

We tried to pass attribute for directive but this is also not working

http://ui-grid.info/docs/#!/tutorial/Tutorial:%20306%20Custom%20Filters

1

There are 1 best solutions below

1
user1259318 On

I could generalize it simply by using same tag in other files