issue with searchPanes not showing any columns
issue with searchPanes not showing any columns

Link to test case: https://www.wd4g.com/WCGateway/DTTest.wc
When initializing my data table I set my targets for searchPanes (see the code below), when I click the searchPanes button, the searchPane modal appears, but just says "No searchpanes". Where it should be showing 4 columns that are set in the targets. I use the same code on other screens and it works correctly?
This has happened on other screens, but I cannot see any difference in the code and I have no errors in the console.
{ extend: 'searchPanes', titleAttr: 'Filter key data with SearchPanes', config: { cascadePanes: true, columns: [ 9,10,11,13 ], orthogonal: { search: 'filter', display: 'display' }, } }
Any help on this would be very appriciated?
Thanks, Chris
This question has an accepted answers - jump to answer
Answers
It's probably because the uniqueness threshold is too low - try setting
searchPanes.threshold
to '1' as in this example here,Colin
Thank you Colin, I did not realise there was a threshold setting! And yes, you are correct, I added some more rows and the searchPanes now work
Another option is to use
columns.searchPanes.show
like this example.Kevin