1

I have to allow multi-select in Fancytree with SHIFT and Mouse Click combination.

Here, how to avoid the default text selection when using the SHIFT key.

I have tried applying the required styles as mentioned here and it is not working.

Is there any other way to resolve this in Fancytree control with selection mode 2.

Community
  • 1
  • 1
Prasanna
  • 21
  • 4

1 Answers1

1

Text selection Issue is resolved by using document.selection.clear() in select event.

Prasanna
  • 21
  • 4
  • if (document.selection) { document.selection.empty(); } else if (window.getSelection) { window.getSelection().removeAllRanges(); } – David Liang Nov 10 '17 at 20:09