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 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 :).

Loader.
Up arrow icon