Wijmo UI for the Web
inputType Field

Determines the type of html editor for filter and cells. Possible values are: "number", "date", "datetime", "datetime-local", "month", "time", "text".

Syntax
Javascript (Usage) 
var instance; // Type: wijmo.grid.IColumn;
var value; // Type: string
value = instance.inputType;
Javascript (Specification) 
var inputType : string;
Example
$("#element").wijgrid({ columns: [{ inputType: "text" }]});
Remarks
If the value is set then input type element is used with "type" attribute set to the value. If the value is not set then: - in desktop environment a "text" input element is used as the editor. - in mobile environment a "number" input element is used for columns having "number" and "currency" dataType; for columns where dataType = "datetime" a "datetime" input element is used, otherwise a "text" input element is shown.
Browser Compatibility
7
5
5

See Also

Reference

IColumn Interface

 

 


© 2013 All Rights Reserved.

Send comments on this topic.