You can display a number pad in the currency, integer, double, or percent cell. This allows you to select numbers from a drop-down number pad.
You can display a number pad by setting the ShowPopupButton property.
This example displays a number pad in an integer cell.
C# |
Copy Code
|
---|---|
FarPoint.Web.Spread.IntegerCellType icell = new FarPoint.Web.Spread.IntegerCellType(); icell.ShowPopupButton = true; FpSpread1.Sheets[0].Cells[1, 1].CellType = icell; |
VB |
Copy Code
|
---|---|
Dim icell as New FarPoint.Web.Spread.IntegerCellType() icell.ShowPopupButton = True FpSpread1.Sheets(0).Cells(1, 1).CellType = icell |