wijmo.grid.c1field Namespace : options type |
Object
wijmo.grid.c1field.options
Name | Description | |
---|---|---|
aggregate | Default value: 'none' Causes the grid to calculate aggregate values on the column and place them in the column footer cell or group header and footer rows. Possible values are: "none", "count", "sum", "average", "min", "max", "std", "stdPop", "var", "varPop" and "custom". | |
allowMoving | Default value: true A value indicating whether the column can be moved. | |
allowSizing | Default value: true A value indicating whether the column can be sized. | |
allowSort | Default value: true A value indicating whether column can be sorted. | |
cellFormatter | This function is called each time wijgrid needs to create cell content. This occurs when rows are being rendered or cell editing is about to finish. You can use it to customize cell content. | |
create | ||
dataFormatString | A pattern used for formatting and parsing column values. | |
dataKey | A value indicating the key of the data field associated with a column. If an array of objects is used as a datasource for wijgrid, this should be string value, otherwise this should be an integer determining an index of the field in the datasource. | |
dataParser | Data converter that is able to translate values from a string representation to column data type and back. | |
dataType | Column data type. Used to determine the rules for sorting, grouping, aggregate calculation, and so on. Possible values are: "string", "number", "datetime", "currency" and "boolean". | |
disabled | ||
ensurePxWidth | Determines whether to use number type column width as the real width of the column. | |
filterOperator | Default value: 'nofilter' An operations set for filtering. Must be either one of the embedded operators or custom filter operator. Operator names are case insensitive. | |
filterValue | A value set for filtering. | |
footerText | Gets or sets the footer text. The text may include a placeholder: "undefined" is replaced with the aggregate. | |
groupInfo | Used to customize the appearance and position of groups. | |
headerText | Gets or sets the header text. | |
inputType | Determines the type of html editor for filter and cells. Possible values are: "number", "date", "datetime", "datetime-local", "month", "time", "text". | |
readOnly | Default value: false A value indicating whether the cells in the column can be edited. | |
rowMerge | Default value: 'none' Determines whether rows are merged. Possible values are: "none", "free" and "restricted". | |
showFilter | Default value: true A value indicating whether filter editor will be shown in the filter row. | |
sortDirection | Default value: 'none' Determines the sort direction. Possible values are: "none", "ascending" and "descending". | |
textAlignment | Gets or sets the text alignment of data cells. Possible values are "left", "right", "center". | |
valueRequired | Default value: false A value indicating whether null value is allowed during editing. | |
visible | Default value: true A value indicating whether column is visible. | |
width | Determines the width of the column. |