text field and calendar format issues

  1. how to set text field formats, like regular expression in Visual Basic?

  2. I could use setColTypes to prompt a calendar at certain column fields,
    however, how to configure the datetime format of it? I don’t see I could get the time part information.

Any help would be appreciated.

Thanks!!

setDateFormat() method for date mask:
docs.dhtmlx.com/doku.php?id=dhtm … dateformat

setNumberFormat() method for number formatting:
docs.dhtmlx.com/doku.php?id=dhtm … mberformat