Hello,
I would like to be able to create a single view and change the model used by the view during runtime.
This code:
GridModel model = new GridModel();
gridControl1.ResetVolatileData();
model.QueryCellInfo += new GridQueryCellInfoEventHandler(GridQueryCellInfo);
gridControl1.Attach(model);
Gives me a blank form when run. What else do I need to call beyond Attach(model)?
The attached file shows the code working when the model is removed and the handlers are attached directly to the GridControl.
Cheers,
Ben
SeperateModelTest.zip