My question is, do I make each cell a custom control? I will need several hundred available at one time. During the actual editing process, speed is no real issue. But when the programs switches from edit mode to run mode, I need to be able to just display each graphic quickly in a scrolling fashion. I am concerned that creating a large number of custom controls will be a large processor issue. The screen would only show a several hundred of a total of several thousand data points.
I hope this makes sense!
Thanks

CrishRank #1,487 · 1.1K reputationPosted Dec 14, 2010, 12:23 AM EST
You can refer following code for grid of custom control.
private void frmSample15_Load(object sender, System.EventArgs e) { gridVirtual1.GettingCell += new SourceGrid2.PositionEventHandler( gridVirtual1_GettingCell); gridVirtual1.Redim(1000,1000); string[,] l_Array = new string[gridVirtual1.RowsCount, gridVirtual1.ColumnsCount]; m_CellStringArray = new CellStringArray(l_Array); m_CellStringArray.BindToGrid(gridVirtual1); If You want to more detail than just go for http://www.codeproject.com/KB/grid/csharpgridcontrol.aspx }Chris Foley34 reputationPosted Dec 14, 2010, 12:40 PM EST