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

Custom Sort Function for grid columns and Custom Filtering for excelMenu #45

Closed
phantasma2983 opened this issue Sep 3, 2019 · 1 comment

Comments

@phantasma2983
Copy link

Please describe the feature you would like to request.

Ability to pass sortFunction in column definition or define sortFunction based on column 'type'
Ability to pass custom filterFunction to excelMenu for the Search functionality.

What is the use-case or motivation for this proposal?

In my case each cell contains an object with an 'html' key for display and a 'raw' value key. I display the html inside the cell template but would like to be able to sort by the raw value.

Is there anything else we should know?

Thanks

@shlomiassaf
Copy link
Owner

The sort property in the column definitions accepts a boolean or a sorting function, you can read more here

The filter property in the column definitions accepts a filtering function, you can read more here

Both document pages comes with detailed examples....


Note the a bug in column specific sorting was found and fixed, use version 1.0.0-rc.7 for it.

Filtering works properly

--

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