projects/components/widgets/data/list/src/list.component.doc.ts
The wmList component defines the list widget.
| clear |
clear()
|
|
Clear method removes all the list items for the list widget.
Returns :
void
|
| deselectItem | ||||||||
deselectItem(index: number | Object)
|
||||||||
|
This method allows to deselect a list item in the list widget.
Parameters :
Returns :
void
|
| getWidgets | ||||||||||||
getWidgets(widgetName: number, index: number)
|
||||||||||||
|
This method returns the widget at particular index in the list.
Parameters :
Returns :
void
|
| onBeforedatarender | ||||||||||||
onBeforedatarender(widget: any, $data: Array
|
||||||||||||
|
This event handler is called before the list items are rendered on the list widget.
Parameters :
Returns :
void
|
| onClick | ||||||||||||
onClick($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the list item is clicked.
Parameters :
Returns :
void
|
| onDblclick | ||||||||||||
onDblclick($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the list item is double clicked.
Parameters :
Returns :
void
|
| onDoubletap | ||||||||||||
onDoubletap($event: TouchEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the double tap event is triggered on a list item.
Parameters :
Returns :
void
|
| onKeypress | ||||||||||||
onKeypress($event: KeyboardEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered whenever a key is pressed when a list item is focused.
Parameters :
Returns :
void
|
| onMouseenter | ||||||||||||
onMouseenter($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the mouse enters the list item.
Parameters :
Returns :
void
|
| onMouseleave | ||||||||||||
onMouseleave($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the mouse leaves the list item.
Parameters :
Returns :
void
|
| onPaginationonChange | ||||||||||||||||
onPaginationonChange($event: Event, widget: any, $index: number)
|
||||||||||||||||
|
This event handler is called when the page is changed through navigation controls.
Parameters :
Returns :
void
|
| onReorder | ||||||||||||||||||||
onReorder($event: MouseEvent, widget: any, $data: Array
|
||||||||||||||||||||
|
Callback function which will be triggered before the item in a list is reordered.
Parameters :
Returns :
void
|
| onSelectionlimitexceed | ||||||||||||
onSelectionlimitexceed($event: Event, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the items selected cross the specified Selection Limit.
Parameters :
Returns :
void
|
| onSetrecord | ||||||||||||||||||||
onSetrecord($event: Event, widget: any, $index: number, $data: Array
|
||||||||||||||||||||
|
This event handler is called when the data is set using the pagination.
Parameters :
Returns :
void
|
| onTap | ||||||||||||
onTap($event: TouchEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the tap event is triggered on a list item.
Parameters :
Returns :
void
|
| selectItem | ||||||||
selectItem(index: number | Object)
|
||||||||
|
This method allows to select a list item in the list widget.
Parameters :
Returns :
void
|
| class |
Type : string
|
|
Class of the widget. |
| collapsible |
Type : boolean
|
Default value : false
|
|
Enable control for collapsing and expanding the widget when groupby property is set. |
| dataset |
Type : Array<any> | Object
|
|
Set this property to a variable to populate the list of values to display. Bindable: |
| dateformat |
Type : string
|
|
This property determines the date format to be applied on the group heading |
| direction |
Type : string
|
Default value : 'vertical'
|
|
This property determines the direction in which list items have to be arranged. vertical and horizontal are two options available. The default value to this property is vertical. |
| disableitem |
Type : boolean
|
Default value : false
|
|
If the disable selection property is true (checked), selection of List item will not be allowed. Bindable: |
| enablereorder |
Type : boolean
|
Default value : false
|
|
This property will allow users to reorder the list items if set to true. |
| groupby |
Type : string
|
|
This property allows for grouping the list of rows in the variable bound to a dataset by selecting one of the field names from the drop-down list. |
| horizontalalign |
Type : string
|
|
This property specifies how the elements should be aligned horizontally. Allowed Values:
|
| iconclass |
Type : string
|
|
CSS class of the icon. Bindable: |
| itemclass |
Type : string
|
Default value : 'list-group-item'
|
|
This property allows user to select a pre-defined list item class name from the view-list drop down. Default Options: Bindable: |
| itemsperrow |
Type : string
|
|
This property controls the number of list items that are displayed within each row of the list. |
| listclass |
Type : string
|
Default value : 'list-group'
|
|
This property allows user to select a pre-defined list item class name from the view-list drop down. Default Options: Bindable: |
| loadingdatamsg |
Type : string
|
Default value : 'Loading...'
|
|
This message will be displayed when waiting for data to load. Bindable: |
| loadingicon |
Type : string
|
Default value : 'fa fa-circle-o-notch'
|
|
This property can be used to set an icon to be shown while loading records. Bindable: |
| match |
Type : string
|
|
When "Group as" property is set to
|
| maxsize |
Type : number
|
|
Maximum number of items to be displayed in the list. |
| multiselect |
Type : boolean
|
Default value : false
|
|
On checking this property users can select multiple items in list. |
| name |
Type : string
|
|
Name of the list widget. |
| navigation |
Type : string
|
Default value : 'Basic'
|
|
Select the pagination type for the widget. Allowed Values:
|
| navigationalign |
Type : string
|
Default value : 'left'
|
|
This property specifies how the paginator should be aligned horizontally. Allowed Values:
|
| nodatamessage |
Type : string
|
Default value : 'No data found.'
|
|
This message will be displayed when there is no data to display. Bindable: |
| ondemandmessage |
Type : string
|
Default value : 'Load More'
|
|
The property can be used to customize the on demand navigation message. Bindable: |
| orderby |
Type : string
|
|
Allows to display the data in asc or desc order based on this property. |
| pagesize |
Type : number
|
Default value : 20
|
|
This property sets the maximum number of items to display on each page of the list. |
| paginationclass |
Type : string
|
|
This property allows user style pagination class. |
| selectfirstitem |
Type : boolean
|
Default value : false
|
|
If this property is enabled, the first item of the list will be selected automatically when the livelist is displayed. Bindable: |
| selectionlimit |
Type : number
|
|
This property will allow users to select only a limited number of items. Bindable: |
| show |
Type : boolean
|
Default value : true
|
|
This property will be used to show/hide the list widget. Bindable: |
| showcount |
Type : boolean
|
Default value : false
|
|
Count of list items in list group will be shown, if set to true |
| showrecordcount |
Type : boolean
|
Default value : false
|
|
This property controls whether the total record count is displayed in the data paginator or not. |
| subheading |
Type : string
|
|
Subheading of the list widget. Bindable: |
| tabindex |
Type : number
|
Default value : 0
|
|
This property specifies the tab order of the list widget. |
| title |
Type : string
|
|
Tile of the list widget. Bindable: |