The gridRecordList tag/component is a list of records in the interface. Used in conjunction with a NodeDatabase, the control presents a panel in the interface for each child node of a field.
Remarks:
Key differences from recordList tag:
The gridRecordList has all the characteristics of the layout tag.
See also:
In addition to the inherited features, gridRecordList also has the following features:
Attribute |
Type |
Default value |
Description |
field |
String |
<empty string> |
The path of a field in NodeDatabase. When associated, the gridRecordList starts using this field to save and display the items in this list. Comments:
See also: |
templateForm |
String |
<empty string> |
Identifies the gridRecordList template form, that is, the panel that will be displayed for each item. It must be equal to the "name" attribute of a form contained in some ".lfm" file of the plugin project. Yes, you will need another ".lfm" file to define to make this tag work. |
minQt |
Integer |
0 |
Defines the minimum number of items that this gridRecordList must present in the interface. Try setting the value 1 to this property. Sometimes this helps the user =) |
Boolean |
False |
Determines whether the gridRecordList should visually function as a list of selectable items. |
|
<< none >> |
Contains the Node object that is currently focused/selected in the gridRecordList. If there is no selection, it contains nil. When assigning a value, if the informed node object is not a child of the node informed in the attribute "field", the selection will be undone, and "selectedNode" will become nil. |
||
<< none >> |
(Read-Only) Contains the Form object of the currently focused/selected item in the gridRecordList. If there is no selection, it contains nil. |
||
paging |
Boolean |
False |
Define if the paging feature is enabled. |
pageSize |
Integer |
20 |
When "paging" == true, specifies the maximum item count that can be displayed per page. |
pageIndex |
Integer |
0 |
When "paging" == true, specified the current page index. 0 is the first page. |
pageCount |
Integer |
<< none >> |
(Read-Only) When "paging" == true, contains the number of pages that exist in the gridRecordList. When "paging" == false, it always contains the number 1. |
filterFields |
Array of string |
{} |
An array containing the names of fields that item nodes have. The gridRecordList monitors these fields for changes and automatically triggers the filter, group, and sort processes in response to such events. |
Method |
Description |
Inserts a new item into the gridRecordList. Retorno:
|
|
Forces the gridRecordList to re-execute the process of filtering, grouping, and sorting its items. |
|
Scrolls through the interface's scrollBoxes so that the item's panel is visible on the screen for the user. Arguments:
|
Event |
Description |
This event is triggered when the selection of the recordList changes, that is, when an item is selected or when no item is selected. Remarks:
|
|
Event triggered when a Node object is added to the gridRecordList. Arguments:
Remarks:
|
|
Event triggered when an item is removed from the gridRecordList. Arguments:
Remarks:
|
|
onItemFiltered |
Event triggered when an item is filtered and can be displayed in the gridRecordList. Arguments:
|
onItemUnfiltered |
Event triggered when an item is no longer filtered and cannot be displayed in the gridRecordList anymore. Arguments:
|
onItemShow |
Event triggered when an item becomes visible in the gridRecordList. Arguments:
|
onItemHide |
Event triggered when an item is no longer visible in the gridRecordList. Arguments:
|
onPagingStateChange |
This event is triggered when some of the paging fields of the gridRecordList have changed. The paging fields are: "paging", "pageSize", "pageIndex", and "pageCount". |
This event is triggered at key moments to ensure the sorting of items displayed in the interface. When triggered, the event receives 2 nodes for the programmer to return, between the two, which should appear first. Arguments:
Return:
|
|
onFilter |
The event is triggered so the programmer can determine if a node is filtered and can be displayed in the gridRecordList. Arguments:
Return:
|
onEmptyState |
This event is triggered when no items can be displayed on the gridRecordList. The programmer can customize the appearance of the gridRecordList when it is in an empty state. Return:
|
onGroupId |
The event is triggered for each item in the gridRecordList so the programmer can assign groups to them. Arguments:
Return:
Remarks:
|
onGroupCompare |
This event is triggered when the gridRecordList determines the order of item groups. When triggered, the event receives 2 identification strings for the programmer to return, between the two, which should appear first. Arguments:
Return:
Remarks:
|
onGroupHeader |
This event is triggered so the programmer can provide a control that must be used as a visual group header for the items in the group. Arguments:
Returns:
|
onGroupShow |
Event triggered when a group header becomes visible in the gridRecordList. Arguments:
|
onGroupHide |
Event triggered when a group header is no longer visible in the gridRecordList. Arguments:
|
onBeginOrganization |
Event triggered when the gridRecordList starts the organization of its items After this event, the gridRecordList may trigger multiple calls to the following events:
|
onEndOrganization |
Event triggered when the gridRecordList finishes the organization of its items and it will not trigger more of the events listed in the "onBeginOrganization" event until the next trigger to the event "onBeginOrganization". |
Goto https://sdk3.firecast.app/examples/gridRecordList/ to see examples of the gridRecordList
Created with the Personal Edition of HelpNDoc: Easily create Web Help sites