Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Nov 18, 2008 07:48
open dhtmlx forum
dhtmlxGrid:Double-clicking on a editable table cell

Double-clicking on a table cell that is partially hidden on the right side of the data table frame (with horizontal scrollbar) causes another cell to be selected.

In order to enter data into a table cell, I need to double click table cell in order for it to go into input mode. If the table cell that I want to enter data into is partially hidden on the right side of the data table frame then the following happens:
On the first click the cell that I am clicking on is moved to the left edge of the data table frame
On the second click, the table cell that is now under the cursor is selected and is put into input mode
If that second table cell is partially hidden then it too is moved to the left edge of the data table frame and I end-up editing wrong cell.

Is there any work around for this problem?
Answer posted by Support on Nov 18, 2008 08:34
>> I need to double click table cell in order for it to go into input mode.
Grid can be switched to single cell behavior, by 
     grid.enableEditEvents(true);

Also it possible to modify code of grid, so it will not auto-sroll self on single click, please inform if you need details about such modification.