lists.js | |
Lists | |
ngListItem | This class implements ngList item. |
Properties | |
Text | ... |
ID | ... |
Checked | ... |
AllowGrayed | ... |
Collapsed | ... |
Visible | ... |
Enabled | ... |
RadioGroup | ... |
H | ... |
MinHeight | ... |
Image | ... |
Parent | ... |
Items | ... |
Controls | ... |
ControlsHolder | ... |
Events | |
OnCollapsing | |
OnCollapsed | |
OnExpanding | |
OnExpanded | |
ngListCol | This class implements ngList column. |
Properties | |
ID | ... |
Caption | ... |
Align | ... |
VAlign | ... |
Width | ... |
ngList | This class implements a generic list control. |
Properties | |
Columns | ... |
Items | ... |
HTMLEncode | ... |
ListIndent | ... |
DefaultIndent | ... |
Indent | ... |
ShowCheckboxes | ... |
ShowHeader | ... |
CheckImg | ... |
TreeImg | ... |
ItemImg | ... |
KeyEvents | ... |
PageSize | ... |
ItemHeight | ... |
MinItemHeight | ... |
MouseEvents | ... |
ReadOnly | ... |
SelectType | ... |
SelCount | ... |
SortColumn | ... |
SortDir | ... |
SortCaseSensitive | ... |
CheckedChangedDelay | ... |
ItemsControls | ... |
ParentReferences | ... |
Frame | ... |
Methods | |
Add | Adds new item at the end of the list. |
AddItems | Adds multiple items (even recursive) at the end of the list. |
SetItems | Sets list items. |
Insert | Inserts new item at the position specified by index. |
Replace | Replaces item at the position specified by index. |
Remove | Deletes all references to the item from list. |
Delete | Removes item at specified index from list. |
Clear | Deletes all items from the list. |
IndexOf | Returns the index of the item in list. |
GetPath | Gets/creates items by specified path. |
Collapse | Collapses an item. |
Expand | Expands an item. |
CollapseAll | Collapses all items in tree. |
ExpandAll | Expands all items in tree. |
ToggleCollapsed | Collapses/Expands an item. |
CheckItem | Sets item check state. |
CheckAll | Checks all items in tree. |
UncheckAll | Unchecks all items in tree. |
GetChecked | Gets references to all checked items. |
ClickItem | Clicks the item. |
SetItemVisible | Sets item visibility. |
SetItemEnabled | Sets enabled state of the item. |
Sort | Performs a sort on the list. |
Scan | Recursive scan items in list. |
ScanVisible | Recursive scan only visible items in list. |
FindItem | Locates an item in list by given key. |
FindItemByID | Locates an item by given ID. |
GetItemFocus | Gets focused item. |
SetItemFocus | Sets focus to specified item. |
FirstVisibleItem | Locates first visible item in a list. |
PrevVisibleItem | Locates previous visible item in a list. |
NextVisibleItem | Locates next visible item in a list. |
LastVisibleItem | Locates last visible item in a list. |
ClearSelected | Clears selection. |
SelectItem | Adds item to selection. |
GetSelected | Gets references to all selected items. |
IsItemSelected | Determines if given item is selected. |
UpdateChecked | Update item(s) checked state. |
UpdateCollapsed | Update item(s) collapsed state. |
CreateItemControls | Converts Controls definition into real controls. |
AddItemControl | Adds control to ItemsControls array. |
RemoveItemControl | Removes control ftom ItemsControls array. |
BeginUpdate | Prevents the updating of the list until the EndUpdate method is called. |
EndUpdate | Performs the repaints deferred by a call to BeginUpdate. |
Events | |
OnAdd | |
OnRemove | |
OnGetText | |
OnGetAlt | |
OnExpanding | |
OnExpanded | |
OnCollapsing | |
OnCollapsed | |
OnItemCheckChanged | |
OnCheckChanged | |
OnSetItemVisible | |
OnSetItemEnabled | |
OnSelectChanged | |
OnRedrawSelected | |
OnCompareItem | |
OnClickItem | |
OnDblClickItem | |
OnDblClick | |
OnClick | |
OnCaptionClick | |
OnCaptionDblClick | |
OnKeyDown | |
OnKeyUp | |
OnScroll | |
OnMouseEnter | |
OnMouseLeave | |
OnEnterRow | |
OnLeaveRow | |
OnFocus | |
OnBlur | |
OnDrawItem | |
OnDrawItemText | |
OnGetRowClassName | |
OnMeasureItem | |
OnCalcIndent | |
OnGetItemImg | |
OnGetCheckImg | |
OnGetTreeImg | |
OnGetColumnCaption | |
OnGetColumnWidth | |
ngPageList | This class implements ngPageList control (based on component ngFrame) |
Properties | |
DisplayMode | ... |
PagingType | ... |
PagingSize | ... |
PagingMinSize | ... |
PagingLookout | ... |
PagingInside | ... |
PagingHideDisabled | ... |
DisplayPaging | ... |
KeyEvents | ... |
AutoSelectFirstItem | ... |
Page | ... |
TopIndex | ... |
DisplayedItems | ... |
MaxLength | ... |
CacheData | ... |
AsyncData | ... |
AsyncDataTimeout | ... |
AsyncDataRetryCnt | ... |
AsyncDataURL | ... |
Methods | |
SetPage | Sets current page. |
NextPage | Switches to next page. |
PrevPage | Switches to previous page. |
FirstPage | Switches to first page. |
LastPage | Switches to last page. |
IsPrevPageAvailable | Checks if previous page is available. |
IsNextPageAvailable | Checks if next page is available. |
PageByIndex | Returns page number by given item index. |
SetPagingType | Sets visible paging elements. |
SetLength | Sets number of items in list. |
GetLength | Gets number of items in list. |
IsDynamicData | Determines if list is using dynamic data from server. |
GetRPC | Gets current ngRPC for server data loading if dynamic. |
GetPageTopItems | Provides access to top level items on current page. |
InvalidateData | Invalidates loaded data from server. |
Refresh | Invalidates data from server on current page. |
Reset | Switches to the first page, clears selection and invalidates all data loaded from server if list is dynamic. |
ScanPageItems | Recursive scan items on current page. |
ScanVisiblePageItems | Recursive scan visible items on current page.. |
ShowLoading | Shows default loading control, if available. |
Events | |
OnPageChanging | |
OnPageChanged | |
OnPagingUpdating | |
OnPagingUpdated | |
OnLoadData | |
OnInvalidateData | |
OnAsyncURLRequest | |
OnSetAsyncData | |
OnSetLength | |
OnShowLoading | |
OnHideLoading | |
Controls | |
List | ngList |
Paging | ngToolBar |
FirstPage | ngButton |
PrevPage | ngButton |
PageNo | ngEdit |
Page0 | ngButton |
NextPage | ngButton |
LastPage | ngButton |
This class implements ngList item.
new ngListItem (mixed text)
text | item text(s) |
Properties | |
Text | ... |
ID | ... |
Checked | ... |
AllowGrayed | ... |
Collapsed | ... |
Visible | ... |
Enabled | ... |
RadioGroup | ... |
H | ... |
MinHeight | ... |
Image | ... |
Parent | ... |
Items | ... |
Controls | ... |
ControlsHolder | ... |
Events | |
OnCollapsing | |
OnCollapsed | |
OnExpanding | |
OnExpanded |
... Type: object (ngList or ngListItem)
This class implements a generic list control.
new ngList ([string id])
id | parent element |
Abstract class ngControl.
Properties | |
Columns | ... |
Items | ... |
HTMLEncode | ... |
ListIndent | ... |
DefaultIndent | ... |
Indent | ... |
ShowCheckboxes | ... |
ShowHeader | ... |
CheckImg | ... |
TreeImg | ... |
ItemImg | ... |
KeyEvents | ... |
PageSize | ... |
ItemHeight | ... |
MinItemHeight | ... |
MouseEvents | ... |
ReadOnly | ... |
SelectType | ... |
SelCount | ... |
SortColumn | ... |
SortDir | ... |
SortCaseSensitive | ... |
CheckedChangedDelay | ... |
ItemsControls | ... |
ParentReferences | ... |
Frame | ... |
Methods | |
Add | Adds new item at the end of the list. |
AddItems | Adds multiple items (even recursive) at the end of the list. |
SetItems | Sets list items. |
Insert | Inserts new item at the position specified by index. |
Replace | Replaces item at the position specified by index. |
Remove | Deletes all references to the item from list. |
Delete | Removes item at specified index from list. |
Clear | Deletes all items from the list. |
IndexOf | Returns the index of the item in list. |
GetPath | Gets/creates items by specified path. |
Collapse | Collapses an item. |
Expand | Expands an item. |
CollapseAll | Collapses all items in tree. |
ExpandAll | Expands all items in tree. |
ToggleCollapsed | Collapses/Expands an item. |
CheckItem | Sets item check state. |
CheckAll | Checks all items in tree. |
UncheckAll | Unchecks all items in tree. |
GetChecked | Gets references to all checked items. |
ClickItem | Clicks the item. |
SetItemVisible | Sets item visibility. |
SetItemEnabled | Sets enabled state of the item. |
Sort | Performs a sort on the list. |
Scan | Recursive scan items in list. |
ScanVisible | Recursive scan only visible items in list. |
FindItem | Locates an item in list by given key. |
FindItemByID | Locates an item by given ID. |
GetItemFocus | Gets focused item. |
SetItemFocus | Sets focus to specified item. |
FirstVisibleItem | Locates first visible item in a list. |
PrevVisibleItem | Locates previous visible item in a list. |
NextVisibleItem | Locates next visible item in a list. |
LastVisibleItem | Locates last visible item in a list. |
ClearSelected | Clears selection. |
SelectItem | Adds item to selection. |
GetSelected | Gets references to all selected items. |
IsItemSelected | Determines if given item is selected. |
UpdateChecked | Update item(s) checked state. |
UpdateCollapsed | Update item(s) collapsed state. |
CreateItemControls | Converts Controls definition into real controls. |
AddItemControl | Adds control to ItemsControls array. |
RemoveItemControl | Removes control ftom ItemsControls array. |
BeginUpdate | Prevents the updating of the list until the EndUpdate method is called. |
EndUpdate | Performs the repaints deferred by a call to BeginUpdate. |
Events | |
OnAdd | |
OnRemove | |
OnGetText | |
OnGetAlt | |
OnExpanding | |
OnExpanded | |
OnCollapsing | |
OnCollapsed | |
OnItemCheckChanged | |
OnCheckChanged | |
OnSetItemVisible | |
OnSetItemEnabled | |
OnSelectChanged | |
OnRedrawSelected | |
OnCompareItem | |
OnClickItem | |
OnDblClickItem | |
OnDblClick | |
OnClick | |
OnCaptionClick | |
OnCaptionDblClick | |
OnKeyDown | |
OnKeyUp | |
OnScroll | |
OnMouseEnter | |
OnMouseLeave | |
OnEnterRow | |
OnLeaveRow | |
OnFocus | |
OnBlur | |
OnDrawItem | |
OnDrawItemText | |
OnGetRowClassName | |
OnMeasureItem | |
OnCalcIndent | |
OnGetItemImg | |
OnGetCheckImg | |
OnGetTreeImg | |
OnGetColumnCaption | |
OnGetColumnWidth |
Performs the repaints deferred by a call to BeginUpdate.
void EndUpdate ()
-
This class implements ngPageList control (based on component ngFrame)
Properties | |
DisplayMode | ... |
PagingType | ... |
PagingSize | ... |
PagingMinSize | ... |
PagingLookout | ... |
PagingInside | ... |
PagingHideDisabled | ... |
DisplayPaging | ... |
KeyEvents | ... |
AutoSelectFirstItem | ... |
Page | ... |
TopIndex | ... |
DisplayedItems | ... |
MaxLength | ... |
CacheData | ... |
AsyncData | ... |
AsyncDataTimeout | ... |
AsyncDataRetryCnt | ... |
AsyncDataURL | ... |
Methods | |
SetPage | Sets current page. |
NextPage | Switches to next page. |
PrevPage | Switches to previous page. |
FirstPage | Switches to first page. |
LastPage | Switches to last page. |
IsPrevPageAvailable | Checks if previous page is available. |
IsNextPageAvailable | Checks if next page is available. |
PageByIndex | Returns page number by given item index. |
SetPagingType | Sets visible paging elements. |
SetLength | Sets number of items in list. |
GetLength | Gets number of items in list. |
IsDynamicData | Determines if list is using dynamic data from server. |
GetRPC | Gets current ngRPC for server data loading if dynamic. |
GetPageTopItems | Provides access to top level items on current page. |
InvalidateData | Invalidates loaded data from server. |
Refresh | Invalidates data from server on current page. |
Reset | Switches to the first page, clears selection and invalidates all data loaded from server if list is dynamic. |
ScanPageItems | Recursive scan items on current page. |
ScanVisiblePageItems | Recursive scan visible items on current page.. |
ShowLoading | Shows default loading control, if available. |
Events | |
OnPageChanging | |
OnPageChanged | |
OnPagingUpdating | |
OnPagingUpdated | |
OnLoadData | |
OnInvalidateData | |
OnAsyncURLRequest | |
OnSetAsyncData | |
OnSetLength | |
OnShowLoading | |
OnHideLoading | |
Controls | |
List | ngList |
Paging | ngToolBar |
FirstPage | ngButton |
PrevPage | ngButton |
PageNo | ngEdit |
Page0 | ngButton |
NextPage | ngButton |
LastPage | ngButton |
...
this.Text
...
this.ID
...
this.Caption
...
this.Width
...
this.Columns
...
this.Items
...
this.HTMLEncode
...
this.Indent
...
this.ShowCheckboxes
...
this.CheckImg
...
this.TreeImg
...
this.ItemImg
...
this.KeyEvents
...
this.PageSize
...
this.MouseEvents
...
this.ReadOnly
...
this.SelectType
...
this.SelCount
...
this.SortColumn
...
this.SortDir
...
this.SortCaseSensitive
...
this.CheckedChangedDelay
...
this.ParentReferences
...
this.Frame
...
c.DisplayMode
...
c.PagingType
...
c.PagingSize
...
c.PagingMinSize
...
c.PagingLookout
...
c.PagingInside
...
c.PagingHideDisabled
...
c.DisplayPaging
...
c.KeyEvents
...
c.AutoSelectFirstItem
...
c.Page
...
c.TopIndex
...
c.DisplayedItems
...
c.MaxLength
...
c.CacheData
...
c.AsyncData
...
c.AsyncDataTimeout
...
c.AsyncDataRetryCnt
...
c.AsyncDataURL