Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving user experience - Moving filter section in column menu or make it available in other dropdown #3989

Closed
aravindtrue opened this issue Jul 16, 2015 · 25 comments

Comments

@aravindtrue
Copy link

I've started using it for past few weeks, it has really improved a lot with such a great performance. I would like to share few thoughts on filter section, which works great but need few improvements on look and feel. Right now, all filter options are displayed right below the column header and it will be visible all the time. As a user, I want to see it whenever I want to filter, is there any way to move the complete filter section in column menu i.e., after sort options?

Also, I was trying to position the filter section so that I can make it available in a dropdown on user demand. But this breaks the grid header when we have horizontal scroll bar.

http://stackoverflow.com/questions/31422422/angular-ui-grid-moving-filter-section-in-column-menu

Do you have any improvement plans for filter section? Can you please help to improve the look and feel?

@shivarajskit
Copy link

I am also looking for the same. It will be nice to have this feature on top of awesome existing features of UI Grid.

@aravindtrue aravindtrue changed the title Improving user experience - Moving filter section in column menu or make it available in a other dropdown Improving user experience - Moving filter section in column menu or make it available in other dropdown Jul 16, 2015
@techiemanas
Copy link

This is a nice to have feature , i was also wondering for this sometime around.

@Dinesh-Talreja
Copy link

+1

@rameshpadithurai
Copy link

Even i have such requirement for one of my project, Can any one help us out on this.

Thanks in advance

@Sweta-Agnihotri
Copy link

+1

2 similar comments
@dipabhatt
Copy link

+1

@nbdesai
Copy link

nbdesai commented Jul 16, 2015

+1

@swalters swalters added this to the 3.1 milestone Jul 16, 2015
@PaulL1
Copy link
Contributor

PaulL1 commented Jul 19, 2015

The filter section is switchable, so you can easily add your own UI extras (perhaps in the grid menu) to show and hide the filter boxes. I think one of the tutorials even demonstrates this. Would this be sufficient for your needs? If not, you can use custom menu items on the columns to provide custom filter boxes. I have done this in one of my applications because I wanted to use modal windows to set the filters, and it works just fine.

@aravindtrue
Copy link
Author

@PaulL1 Can you please provide me a Plnkr or any demonstration link? It'll be very helpful for me to analyze.

@KulPrashant
Copy link

This will be really very useful, I can see that it is added as milestone, could you (@swalters) please let us know if you have approximate time frame to release this feature...Thanks..

@vipsingh1
Copy link

It would be great if we get this feature available in next release.

@biksteam
Copy link

I've got a prototype working. Is there anyone working on this one? Or can I send a PR for this?
I just need to turn this into a feature.

@swalters
Copy link
Contributor

@Webiks can you post some screenshots here of what you've done? thanks.

@swalters swalters reopened this Jul 29, 2015
@biksteam
Copy link

It might take a while. It's in the office. In the meantime, I'm having problems running the dev environment. #4071.

@biksteam
Copy link

There you go:
http://plnkr.co/edit/HVohvjElaMoJU3kFKMjx?p=preview
I started with inserting the core filter template into the popup, but then decided to do something more kendo-ui like (they are not so good when it comes to performance, but they are very good with UI - u gotta give them that).
EDIT:
Now you can also filter with selection in the popup
I'll finish date and number and then it's ngDocing... such a downer after so much fun-coding
(test selection by filtering the "gender" col)

@aravindtrue
Copy link
Author

@Webiks - The look and feel is really great! I'll try it out in my application and scale the performance.

@biksteam
Copy link

It's hardly finished, but would be great to get feedback on the go., Thanks

@biksteam
Copy link

You can now choose between multiple selection and singular selection (plnkr updated to show how).

@orlandumike
Copy link

I think that it would provide a better UX and that's what we are looking for.

Our UX team was proposing to have some kind of filter icon beside the column name that would expand a hidden section contailing the filter. Having the normal auto complete text or a dropdown or a customer filter like this would be nice.

image

The filter icon could have 2 versions: (ex: one empty and another filled)

  • Not applied (so that we can make it pop and add a filter)
  • Currently applied (indicator that a filter is appled and also provide the way to change it.

Clearing the filter should probably be part of the expanded section.

Good work with the grid guys by the way!

@swalters
Copy link
Contributor

swalters commented Feb 3, 2016

@yccteam has a branch that provides a similar ui. It will be implemented outside the core repository. #4108

@orlandumike
Copy link

Ok, but will it ever make it into the core?

At the moment, I'm adding a filter button as a custom filter that open a dialog and afterward update the term of the column.

@sryzycki
Copy link

sryzycki commented Jan 9, 2017

Hi and thank you for this amazing Angular module. I understand that you guys are extremely busy but I would like to still ask this question:
What's the latest on having column filters inside of a dropdown?

Happy New Year!

@AnushaputtaUI
Copy link

AnushaputtaUI commented Nov 30, 2017

Any Ideas on how to achieve the above design using UI-grid,I saw the other options in the comments here and they are not working

@betsydupuis
Copy link

@AnushaputtaUI

I think that it could be accomplished with a filtered search field like the example below.

screen shot 2017-12-01 at 8 38 25 am

Selections could then be displayed as a list of tags like Appliances : Toaster, Appliances : Refrigerator, Appliances: Stand Mixer

@AnushaputtaUI
Copy link

I guess my question is I need some filter icon for each column and when I click on the icon it should toggle the filter widget on each column.

caseyjhol added a commit to snapappointments/ui-grid that referenced this issue Dec 3, 2018
…be placed in column menu

filterContainer has a default value of "headerCell" which is the same as existing behavior. A filterContainer value of "columnMenu" moves the filter into the column menu. This improves the appearance of the filter in situations where there are multiple filters for a single column (preventing the header from simply getting taller and taller) and offers a streamlined alternative to placing the filter directly in the header cell.

Fixes angular-ui#3989.
caseyjhol added a commit to snapappointments/ui-grid that referenced this issue Dec 3, 2018
…be placed in column menu

filterContainer has a default value of "headerCell" which is the same as existing behavior. A filterContainer value of "columnMenu" moves the filter into the column menu. This improves the appearance of the filter in situations where there are multiple filters for a single column (preventing the header from simply getting taller and taller) and offers a streamlined alternative to placing the filter directly in the header cell.

Fixes angular-ui#3989.
caseyjhol added a commit to snapappointments/ui-grid that referenced this issue Dec 4, 2018
…be placed in column menu

filterContainer has a default value of "headerCell" which is the same as existing behavior. A filterContainer value of "columnMenu" moves the filter into the column menu. This improves the appearance of the filter in situations where there are multiple filters for a single column (preventing the header from simply getting taller and taller) and offers a streamlined alternative to placing the filter directly in the header cell.

Fixes angular-ui#3989.
mportuga pushed a commit that referenced this issue Dec 19, 2018
…be placed in column menu

filterContainer has a default value of "headerCell" which is the same as existing behavior. A filterContainer value of "columnMenu" moves the filter into the column menu. This improves the appearance of the filter in situations where there are multiple filters for a single column (preventing the header from simply getting taller and taller) and offers a streamlined alternative to placing the filter directly in the header cell.

Fixes #3989.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests