Rank: Newbie Groups: Member
Joined: 9/13/2012 Posts: 2
|
Hi!
I'm using the eo:Grid control with excel-style editing enabled. I've noticed that when I'm editing a textbox cell and I click a position off of the grid, the cell stays in edit mode until I click back on that cell and hit enter, or click on another cell in the grid. Is there a way to have the cell exit edit mode when i click somewhere on the site other than the grid?
Edit: I noticed it behaves this way in your demo, as well.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, You will have to write code for that. You can handle your page's mouse down/click event and then call this function to force the Grid to exit edit mode: http://www.essentialobjects.com/doc/1/jsdoc.public.grid.editcell.aspxYou will need to pass -1 as the first argument to force the Grid to edit edit mode. The second and third argument in this case does not matter. Thanks!
|