FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Cell Class : Editor Property |
The setting for this property can be overridden if a named style is assigned to the cell using the StyleName property, and that named style sets the editor to use.
FpSpread1.Sheets[0].ColumnCount=7;
FpSpread1.Sheets[0].RowCount=50;
FarPoint.Web.Spread.Cell mycell;
FarPoint.Web.Spread.Editor.IEditor ed;
ed=new FarPoint.Web.Spread.GeneralCellType();
mycell=FpSpread1.Cells[0,0];
mycell.Editor=ed;
TextBox1.Text=Convert.ToString(mycell.Editor);
FpSpread1.Sheets(0).ColumnCount=7 FpSpread1.Sheets(0).RowCount=10 Dim mycell As FarPoint.Web.Spread.Cell Dim ed As FarPoint.Web.Spread.Editor.IEditor ed=New FarPoint.Web.Spread.GeneralCellType() mycell=FpSpread1.Cells(0,0) mycell.Editor=ed TextBox1.Text=Convert.ToString(mycell.Editor)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional