Multiple-select in one column or container using Search Panes
Multiple-select in one column or container using Search Panes
manila24
Posts: 9Questions: 5Answers: 0
Hi Guys!
First time asking question in the forum. I'm new to this so bare with me.
Is it possible to have a multiple selection of data in one column or container of a Search Pane?
if so how?
Thanks for any help you can give me.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @manila24 ,
SearchPanes uses the Select extension so yes you can select multiple items within a SearchPane. Just hold
ctrl
on your keyboard and click to select individual items, orshift
to select a block of items.Hope this helps,
Sandy
Hi @sandy,
I just tried your answer and it works!
Many thanks for the help.
Hi @sandy ,
I use SearchPanes and I was wondering if multiple selection is possible without holding CTRL or SHIFT.
Like this experiment example :
https://cdn.datatables.net/plug-ins/preview/searchPane/index.html?fbclid=IwAR18751XuYols2EA6asPIFhVkeWH4LG14fKuSLVCo9_RoKeKBaKYPhQzF4k
Thanks for any help
Hi @Ziigmund ,
Yes that is possible, take a look at this example. All you need to do is set
select.style
tomulti
withinsearchPanes.dtOpts
.Thanks,
Sandy
But without using ctrl multiselect as like @sandy mentioned in above example only works with "Pfrtip" DOM not in "Bfrtip" Dom how can we use it with "Bfrtip" Dom ?
Multiselect on clicking only works with Pfrtip Dom not for Bfrtip Dom how can we use it with bfrtip Dom ?
@sandy
Hi @pawan878 ,
You need to put the SearchPanes configuration into the buttons config option. Take a look at this example.
Thanks,
Sandy