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. Image for the cookie policy date

How to access the grid from GridModel?

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

2 Replies

AD Administrator Syncfusion Team June 29, 2005 02:55 PM UTC

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

KV Kristian Vinther June 30, 2005 01:55 PM UTC

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

Live Chat Icon For mobile
Up arrow icon