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

how to add custom filters to grid view or sum #2

Open
papyr opened this issue Nov 10, 2018 · 2 comments
Open

how to add custom filters to grid view or sum #2

papyr opened this issue Nov 10, 2018 · 2 comments

Comments

@papyr
Copy link

papyr commented Nov 10, 2018

Hi how can we add custom filters, color coding to colmsns, or buttons, and also how to sum/coount a col

@mesuttalebi
Copy link
Owner

Hi, for custom filter please see an example here
https://github.com/mesuttalebi/Me_MVCGridView/blob/master/mesoft.gridview/Views/Home/_GridViewFilterPartial.cshtml

color coding for columns is simple becuase I use a partial view for data inside grid so you are free to change the partial view.
see example here:
https://github.com/mesuttalebi/Me_MVCGridView/blob/master/mesoft.gridview/Views/Home/_CustomersPartial.cshtml

also for other questions you can do what ever you want in partial view.

@papyr
Copy link
Author

papyr commented Nov 11, 2018

great thanks, I think we can also enhance this further with this
https://serenity.is/demo/AdvancedSamples/DragDropGrouping
https://serenity.is/demo/AdvancedSamples/ExcelStyleFilters
he has some code on the link above... and his code is also on github ...

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

No branches or pull requests

2 participants