issue with searchPanes not showing any columns

issue with searchPanes not showing any columns

cj1005cj1005 Posts: 142Questions: 45Answers: 1

Link to test case:

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


  • colincolin Posts: 15,200Questions: 1Answers: 2,592
    Answer ✓

    It's probably because the uniqueness threshold is too low - try setting searchPanes.threshold to '1' as in this example here,


  • cj1005cj1005 Posts: 142Questions: 45Answers: 1

    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 :smile:

  • kthorngrenkthorngren Posts: 20,537Questions: 26Answers: 4,816

    Another option is to use like this example.


Sign In or Register to comment.