ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Excel Type Filtering

Open sachin-bs opened this issue 11 years ago • 4 comments

This is not an issue, but rather an enhancement. I wasn't sure if something like this is in the works but I am wondering if it is possible to create a feature where we can do filtering on columns based on a dropdown selection of what values are available in that column, rather than the user having to type it out. Basically how Excel Table Filtering works.

I wasn't able to find anything by doing some searches on Git so I figured I would ask before I try to implement on my own rather than help contribute to something that might already be started.

sachin-bs avatar Mar 05 '15 15:03 sachin-bs

I think #2918 would enable you to add this function.

PaulL1 avatar Mar 05 '15 19:03 PaulL1

Implemented http://ui-grid.info/docs/#/tutorial/306_custom_filters, via #3262

PaulL1 avatar Apr 12 '15 06:04 PaulL1

This is precisely the feature I'm looking for--having Excel-like drop-downs on a column with just the values in it. I checked-out the documentation referenced above but didn't read anything about the drop-downs. Is it something that must be enabled via a setting, or is it a hook for developers to implement their own dropdowns?

tggagne avatar Aug 31 '15 02:08 tggagne

You enable it by changing the filter template (from memory), and you have to actually populate the dropdown yourself.

PaulL1 avatar Aug 31 '15 02:08 PaulL1