DHTMLX Docs & Samples Explorer

forceLabelSelection(mode)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid_selection.js

affect block selection, so it will copy|paste only visible text , not values behind

  • mode - true/false
   //enable label selection
   mygrid.forceLabelSelection(true);
   //disable label selection
   mygrid.forceLabelSelection(false);

See also: enableBlockSelection