Search pane filter that returns the top 10 highest values
Search pane filter that returns the top 10 highest values

Link to test case: https://themeadow.se/ntjperrors/index.html
Debugger code (debug.datatables.net):
Error messages shown: No error messages shown.
Description of problem:
I'm using custom search pane filters. Is it possible to have a custom search pane filter that returns the top 10 highest values based of a given column?
This discussion has been closed.
Replies
That's an interesting idea, but no, that's not possible. SearchPanes is just matching the strings in a search, along with any other filtering that's also taking place, so there's no option to limit the results for just that type of search.
Colin
Do you think I could push each row to an array, sort it by value and split it on index 9?
With SearchPanes you can have custom options, so you could query the data source, bin the data and get the top 10 and then populate them into some custom panes.
Allan