Ability to preserve multi-selected cell data with OS type selector?
Ability to preserve multi-selected cell data with OS type selector?
Hello Team,
I want a behavior that when I am using selector type 'os' for multiple cells by using shift/ctrl keyword, clicking on one empty cell without shift/ctrl keyword all my previous selection is gone (not preserved). So i have to prevent that behaviour and all my previous selected data should be preserved.please do let me know if these kind of functionality is there in community edition of datatable or enterprise edition of datatable (or) any alternative solution for this limitation. thanks
This question has an accepted answers - jump to answer
Answers
What you described is the expected behavior of the
os
option. From the Select doc:Have you tried the
multi
option? Here is an example:https://datatables.net/extensions/select/examples/initialisation/multi.html
Kevin
Hi @venkat_qutrix ,
To do that, you would need to set
select.style
asmulti+shift
, see the example here.Cheers,
Colin
thanks you very much @colin