TimeColumn
A column that displays a time in the specified format (see format for formatting options).
Default editor is a TimeField.
new Grid({
appendTo : document.body,
columns : [
{ type: 'time', text: 'Start time', format: 'HH:mm:ss', field : 'start' }
]
});
Useful configs
| Config | Description |
|---|---|
| format | Time display format string (e.g. 'LT', 'HH:mm') |
See also
- DateColumn - Column for date values
- DateHelper - Date/time formatting utilities
- TimeField - Default editor widget
No results
Configs
Configs are options you supply in a configuration object when creating an instance of this classProperties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of TimeColumn class, or subclass thereof.
-
Identifies an object as an instance of TimeColumn class, or subclass thereof.
Functions
Functions are methods available for calling on the class-
defaultRenderer( )private
Renderer that displays the time with the specified format. Also adds cls 'b-time-cell' to the cell.
-
groupRenderer( )private
Group renderer that displays the time with the specified format.
type: time