We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

What sets GridDataBoundGrid.DataBoundGridModel.CurrentCellInfo?

Thread ID:

Created:

Updated:

Platform:

Replies:

34285 Sep 7,2005 02:42 PM UTC Sep 7,2005 03:28 PM UTC WinForms 3
loading
Tags: GridControl
Ken Overton
Asked On September 7, 2005 02:42 PM UTC

Sorry for the lengthy posting, but I thought if I included enough context, folks could tell whether my question is a red herring or not. I have a state in which I''d like to ConfirmChanges to the cell, and there''s a few ways to do that: a) call CurrentCell.ConfirmChanges(), but that leaves the cell in editmode; I don''t want that. c) call CurrentCell.Deactivate(false), but that totally deactivates the current cell, so user has to reselect it to make it the current cell again. I''ve tried Deactivate(false) followed by SetCurrentCellNoActivate(row,col), but the odd thing with that is that GridDataBoundGrid.DataBoundGridModel.CurrentCellInfo is null. Where does this get set?

Administrator [Syncfusion]
Replied On September 7, 2005 02:58 PM UTC

CurrentCellInfo is normally set in CurrentCell.Activate.

Administrator [Syncfusion]
Replied On September 7, 2005 03:05 PM UTC

So what is the proper way to activate the current cell without putting it into editmode? That is, I want the current cell to receive keystrokes, but not with the TextBox renderer.

Ken Overton
Replied On September 7, 2005 03:28 PM UTC

>So what is the proper way to activate the current cell without putting it into editmode? think I found it: _grid.CurrentCell.Activate(row, col, GridSetCurrentCellOptions.NoSetFocus)

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;