File

projects/components/widgets/data/table/src/table-column/table-column.directive.doc.ts

Description

The wmTableColumn component defines the table column widget.

Inputs

binding
Type : string

The binding for the column. It is the target column in the data object the table is bound to.

caption
Type : string

This property specifies the title of the column header.

Bindable: true

caseinsensitive
Type : boolean
Default value : false

This property is used to make sorting case-insensitive, treating uppercase and lowercase letters the same. e.g: A,a,B,b,C,c

checkedvalue
Type : string

This property defines the value of the widget when the element is in the checked state.
Default value is boolean value true. If specified, the value will be of string type.

colClass
Type : string

CSS class for styling the column.

colNgClass
Type : string

This property allows user to bind expression to column class property.

Bindable: true

currencypattern
Type : string

Specify the currency code such as 'USD'.

customExpression
Type : boolean

Custom expression for the column. Select one of the available widgets from above list or provide a custom expression here (for more info click on the 'Help' link above).

dataentrymode
Type : string
Default value : 'default'

This property specifies how the user can enter data.If the Value is set to default, data entry can be done either by selecting from the Date/DateTime/Time Picker or by entering manually through the keyboard, else data entry can be done only by selecting from the Date/DateTime/Time Picker.

datafield
Type : string

This property sets the dataValue to be returned by the dataset widget when the list is populated using the dataSet property.

dataset
Type : Array<any> | Object

This property accepts the options to create the dataset widget. These options can be array of values, array of objects, object containing key-value pairs.

Bindable: true

datavalue
Type : any

This property defines the initial selected value of the dataset widget.

Bindable: true

datepattern
Type : string

This property defines the display pattern of column in view mode.

Allowed Values: Standard Patterns like 'yyyy-MM-dd hh:mm:ss a', 'yyyy-MM-ddTHH:mm:ss', 'yyyy, MMM dd', etc.

defaultvalue
Type : any

This property defines the default value for the widget in inline or quick edit.

Bindable: true

disabled
Type : boolean

This property will be used to disable/enable the table column on the web page.

Bindable: true

displayfield
Type : string

This property sets the displayValue to show in the dataset widget when the list is populated using the dataSet property.

displaylabel
Type : string

This property sets the displayValue to show in the dataset widget when the list is populated using the dataSet property.

editdatepattern
Type : string

This property display pattern of the datetime widget in inline or quick edit.

Allowed Values: Standard Patterns like 'yyyy-MM-dd hh:mm:ss a', 'yyyy-MM-ddTHH:mm:ss', 'yyyy, MMM dd', etc.

editWidgetType
Type : string

Widget type in the inline or quick edit.

exportexpression
Type : string

Expression against the column to be displayed when data is exported. E.g. (firstname + lastname). If left empty, actual value against the column will be displayed.

filterdatafield
Type : string

This property sets the filter dataValue to be returned by the dataset widget when the list is populated using the dataSet property.

filterdisplayfield
Type : string

This property sets the filter displayValue to show in the dataset widget when the list is populated using the dataSet property.

filterdisplaylabel
Type : string

This property sets the filter displayValue to show in the dataset widget when the list is populated using the dataSet property.

filterOn
Type : string

Filters the values for the current field when the 'Filter on field' value changes.

formatpattern
Type : string

This property is used to specify a format from the allowed values.

Allowed Values: toDate, toCurrency, prefix, suffix, numberToString, stringToNumber, timeFromNow, None

fractionsize
Type : number

Set the number of decimal places that are displayed.

limit
Type : boolean
Default value : true

Limits the data to be displayed in the widget.

mobiledisplay
Type : string

This property is to show the column in mobile view.

pcdisplay
Type : string

This property is to show the column in web view.

placeholder
Type : string
Default value : 'Enter text'

A placeholder is text to show in the editor when there is no value.

Bindable: true

prefix
Type : string

Text to append to the start of each column data.

readonly
Type : boolean
Default value : false

This property will be used to make the column non-editable.

Bindable: true

required
Type : boolean
Default value : false

This property determines required validation for a column.

rowactionsposition
Type : string

This property determines the position at which row actions column has to be rendered.

searchable
Type : string

This property enables search on the column.

searchkey
Type : string

This is the property to be searched upon

show
Type : boolean
Default value : true

This property will be used to show/hide the column.

Bindable: true

showdropdownon
Type : string
Default value : 'default'

If the Value is set to default Date/Datetime/time picker will be opened on both input click and button click, else picker will be opened only button click.

showinfilter
Type : string

This property determines whether the field should be displayed in search filter dropdown or not

sortable
Type : boolean
Default value : true

This property enables sort on the column.

suffix
Type : string

Text to append to the end of each column data.

type
Type : string
Default value : 'string'

Datatype the column.

uncheckedvalue
Type : string

This property defines the value of the widget when the element is in the unchecked state.

widgetType
Type : string

Type of the widget in the view mode.

Allowed Values: anchor, button, checkbox, icon, image, label

results matching ""

    No results matching ""