Welcome Guest Search | Active Topics | Sign In | Register

eo grid excel-style edit question Options
Octopode
Posted: Friday, September 14, 2012 1:01:07 PM
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.
eo_support
Posted: Friday, September 14, 2012 1:48:32 PM
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.aspx

You 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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.