Spread ASP.NET 14
Spread for ASP.NET 14 Product Documentation / Developer's Guide / Customizing with Cell Types / Working with Editable Cell Types / Displaying a Number Pad in Number Cells
In This Topic
    Displaying a Number Pad in Number Cells
    In This Topic

    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.

    Number pad ni Number cell

    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