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

How to access the grid from GridModel?

Thread ID:





31043 Jun 29,2005 11:00 AM UTC Jun 30,2005 01:55 PM UTC WinForms 2
Tags: GridControl
Kristian Vinther
Asked On June 29, 2005 11:00 AM UTC

Hi. Using the sample VB code in 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 02:55 PM UTC

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

Kristian Vinther
Replied On June 30, 2005 01:55 PM UTC

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


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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