Custom searchPanes PreSelect?
Custom searchPanes PreSelect?
s-g
Posts: 4Questions: 2Answers: 0
Hi,
is it possible to preSelect one value from a custom searchPane?
- The searchPane is opened inside a modal, through a custom button.
- serverSide: false
Thank you
This question has accepted answers - jump to:
Answers
Yep, you can use
searchPanes.preSelect
for that - please see working demo here,Colin
Hi Colin,
thanks, that works for most panes/columns. However, I am not sure I can use this for preSelecting a custom pane that includes data from two different columns:
Would it be possible to preSelect this custom pane by choosing the searchPane index instead of the table column?
Thanks
Hi,
I think the last paragraph in the
searchPanes.preSelect
is what you are looking for. In particular:I will straight up say that it is non-intuitive that. I will be looking at refactoring that in future.
Allan
Hi Allan,
my bad, didn't see that part. Modified it and it works now.
Thanks!