Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by satya.challa on Feb 28, 2008 03:39
open dhtmlx forum
dhtmlGrid - copying label names in rows by ctrl+c

hi
we are using dhtml 1.5 version. In our applicatin we are converting our tables to dhtmlGrid tables. Here we are loading the grid
thru the exitsing table - (not from xml). Problem is we given all the values in the grid as read-only. Now the user wants to copy any
value (lables in the rows) from the gird thru (ctrl+c). This is not happening. As our application is very big , and our tables contain some 30 - 40 columns, and the user wants to search on a particular invoice - he wants to copy the invoiceNo and starts searching.
So please provide me the solution to achieve this.

Appreciate your earlier response.

Thanks & best regards
satya.
Answer posted by Support on Feb 28, 2008 04:33
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 occurences of next line
    -moz-user-select:none;
2. In grid initialization code add next command
   grid.entBox.onselectstart = function(){ return true; };