DATATYPE Property (DATATABLE)


10.5, PLBCMP GUI Only

 

The DATATYPE property allows selection of the input type for an element of the Columns collection in a DATATABLE The property uses the following format:

DATATYPE={value}

Note the following:

  1. DATATYPE may be used in SETPROP or GETPROP statements for elements of the Columns collection.

  2. This property only takes affect when a DATATABLE is bound to a HTMLCONTROL with the style set to LISTVIEW mode. Also, the CONTENTTYPE for the column must be set to $TC_EDITABLE which defines that the column items can be edited.

  3. The {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The {value} specifies one of the following:

  4.  

    Value

    Keyword

    The column input type is ...

    0

    $CDT_NONE

     

    1

    $CDT_BOOL

    <input type="checkbox">

    2

    $CFT_BUTTON

    <input type="button">

    3

    $CDT_COLOR

    <input type="color">

    4

    $CDT_CHAR

    <input type="text">

    5

    $CDT_DATE

    <input type="date">

    6

    $CDT_DATETM

    <input type="datetime-local">

    7

    $CDT_DECIMAL

    <input type="number">

    8

    $CDT_EMAIL

    <input type="email">

    9

    $CDT_IMAGE

    <input type="image">

    10

    $CDT_MONTH

    <input type="month">

    11

    $CDT_PASSWORD

    <input type="password">

    12

    $CDT_SEARCH

    <input type="search">

    13

    $CDT_TELEPHONE

    <input type="tel">

    14

    $CDT_TIME

    <input type="time">

    15

    $CDT_URL

    <input type="url">

    16

    $CDT_WEEK

    <input type="week">

 

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference DATA Property DECIMALDIGITS Property