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

2 Replies

AD Administrator Syncfusion Team June 29, 2005 09:55 AM

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


KV Kristian Vinther June 30, 2005 08:55 AM

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

Loader.
Live Chat Icon For mobile
Up arrow icon