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.
Unfortunately, activation email could not send to your email. Please try again.

How to access the grid from GridModel?

Thread ID:

Created:

Updated:

Platform:

Replies:

31043 Jun 29,2005 07:00 AM Jun 30,2005 09:55 AM Windows Forms 2
loading
Tags: GridControl
Kristian Vinther
Asked On June 29, 2005 07:00 AM

Hi. Using the sample VB code in http://64.78.18.34/Support/Forums/message.aspx?MessageID=6472 I have implemented my own ClipBoardPaste event handler. However in the sample we use some known data grid to get CurrentCell, and use CurrentCell.MoveTo(). But must of our GUI is autogenerated, and therefore I do know which grid I am currently manipulating... So, how do I get the grid handle, having ''only'' the GridModel and the EventArguments? Or can I go through the Binder somehow? Any help is appreciated :). Krsitian

Administrator [Syncfusion]
Replied On June 29, 2005 10:55 AM

Try using gridModel.ActiveGridView. (But check first to make sure it is not null).

Kristian Vinther
Replied On June 30, 2005 09:55 AM

Thanks. What I needed was in fact the InternalColumn on the model, so I got it solved :).

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.

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.

;