Wijmo UI for the Web
c1field jQuery Widget
The wijmo.c1field internal widget provides the base widget for columns in the wijgrid. See c1field options
Syntax
Javascript (Usage) 
$(function () {
    var options; // Type:  wijmo.grid.c1field.options
     
    $(".selector").c1field(options);
});
Javascript (Specification) 
function c1field() : any;
Browser Compatibility
7
5
5
Options
 NameDescription
public Optionaggregate

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".

 
public OptionallowMoving

Default value: true

A value indicating whether the column can be moved.

 
public OptionallowSizing

Default value: true

A value indicating whether the column can be sized.

 
public OptionallowSort

Default value: true

A value indicating whether column can be sorted.

 
public OptioncellFormatter

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.

 
public Optioncreate  
public OptiondataFormatString

A pattern used for formatting and parsing column values.

 
public OptiondataKey

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.

 
public OptiondataParser

Type: wijmo.grid.IDataParser

Data converter that is able to translate values from a string representation to column data type and back.

 
public OptiondataType

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".

 
public Optiondisabled  
public OptionensurePxWidth

Determines whether to use number type column width as the real width of the column.

 
public OptionfilterOperator

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.

 
public OptionfilterValue

A value set for filtering.

 
public OptionfooterText

Gets or sets the footer text. The text may include a placeholder: "undefined" is replaced with the aggregate.

 
public OptiongroupInfo

Type: wijmo.grid.IGroupInfo

Used to customize the appearance and position of groups.

 
public OptionheaderText

Gets or sets the header text.

 
public OptioninputType

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

 
public OptionreadOnly

Default value: false

A value indicating whether the cells in the column can be edited.

 
public OptionrowMerge

Default value: 'none'

Determines whether rows are merged. Possible values are: "none", "free" and "restricted".

 
public OptionshowFilter

Default value: true

A value indicating whether filter editor will be shown in the filter row.

 
public OptionsortDirection

Default value: 'none'

Determines the sort direction. Possible values are: "none", "ascending" and "descending".

 
public OptiontextAlignment

Gets or sets the text alignment of data cells. Possible values are "left", "right", "center".

 
public OptionvalueRequired

Default value: false

A value indicating whether null value is allowed during editing.

 
public Optionvisible

Default value: true

A value indicating whether column is visible.

 
public Optionwidth

Determines the width of the column.

 
Top
Methods
 NameDescription
public Methoddestroy  
public MethodwidgetReturns a jQuery object containing the original element or other relevant generated element.  
Top

See Also

Widgets

Grid

Reference

wijgrid jQuery Widget
c1field jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.