AD
Administrator
Syncfusion Team
May 17, 2005 09:15 AM UTC
We ship no ''Chart'' CellType. But you can use the ''Control'' CellType to embed a chart into a cell. Here is a snippet that embeds a WIndows Forms TextBox control in a cell. You could do something similar with our Chart.
TextBox box = new TextBox();
box.Multiline = true;
box.Text = "Some random text here...";
box.BorderStyle = BorderStyle.None;
box.Visible = false;
gridControl1.RowHeights[2] = 30;
gridControl1.ColWidths[2] = 200;
gridControl1[2,2].CellType = "Control";
gridControl1[2,2].Control = box;
this.Controls.Add(box);