Spread for ASP.NET 11 Product Documentation
Displaying a Number Pad in Number Cells
Spread for ASP.NET 11 Product Documentation > Developer's Guide > Customizing with Cell Types > Working with Editable Cell Types > Displaying a Number Pad in Number Cells

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.

Example

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