Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sterling on Feb 11, 2009 10:17
open dhtmlx forum
Click, Select and Copy of Grid cells with coltype='link'

How do you set a coltype='link' Grid cell for clicking, selecting and copying. Currently it clicks but can't be selected and therefor can't be copied to the clipboard with CTRL-C.

In other words, setting a Grid cell coltype='link' makes the text non-selectable (ie. I can't CTRL-C the text like with coltype='ed'). How do I make a link cell selectable and copyable with CTRL-C?

Thanks in advance,
-Sterling
Answer posted by dhxSupport on Feb 12, 2009 03:25
The grid block all selection to prevent visual problems, but it may be re-enabled back by some modifications
1. In dhtmlxgrid.css locate and erase all occurrences of next line
  -moz-user-select:none;
2. In grid initialization code add next command
  grid.entBox.onselectstart = function(){ return true; };