Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jared McAteer on Oct 17, 2007 14:40
open dhtmlx forum
Unable to select contents of a textbox in a header cell.

This is a minor annoyance of mine;

In Fx 2 and IE6 I can't click and drag, nor use shift + click/arrow keys to select the text of content that is part of a complex header.
In the nightly Fx 3 (minefield dev build)  I can use shift + arrow keys to select text but it doesn't highlight so it's completely unusable.

Is there any way to fix this?
Answer posted on Oct 18, 2007 04:39
Actually it is blocked purposely
To unblock selection in grid you need to made next 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; };
Answer posted by Jared on Oct 19, 2007 13:43
Great thank you.