Focal Point
[CLOSED] Maintain Grid- have to double click to edit?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9177097316

December 02, 2011, 02:03 PM
jjoyce
[CLOSED] Maintain Grid- have to double click to edit?
I'm using the JSGrid on my maintain form and I have to double-click on each cell to edit it(actually sometimes I have to click quite a few times to get my cursor in there). Also, when the cell becomes editable, I would like to highlight the existing text so that when the user types, it replaces whats in the cell vs. appending/prepending to the existing text, but at this point I'd settle for getting rid of the double click as its very annoying when update a large amount of grid data.

I read a few older posts that say I should use the StartEdit() javascript function, but when using it I always get the "object doesn't support this property or method". I tried the function on both the JSGrid and the html grid.

function OnGrid3_Focus ( )  {
  cc_input.Grid3.StartEdit();
}
  


Is there something I'm missing?

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.7.2
Win2003
Excel, HTML, PDF
December 02, 2011, 02:33 PM
Maintain Wizard
Here you go:

Click on a cell and enter edit mode:
Form.Grid.OneClickEdit(true); // false to turn off