TTMSFNCCustomTableView Class
Base class for a scrollable list control that displays items organised in optional categories with support for filtering, sorting, and swipe actions.
API unit family: TMSFNCTableView
Inherits from: TTMSFNCCustomControl
Implements: ITMSFNCStylesManager, ITMSFNCBitmapContainer, ITMSFNCControlPickerFull, ITMSFNCAppearanceGlobalFont
Syntax
TTMSFNCCustomTableView = class(TTMSFNCCustomControl, ITMSFNCStylesManager, ITMSFNCBitmapContainer, ITMSFNCControlPickerFull, ITMSFNCAppearanceGlobalFont)
Properties
| Name | Description |
|---|---|
| BackButton | Gets back button. |
| Checked | Gets or sets whether checked is enabled or active. |
| CheckedItem | Gets or sets whether checked is enabled or active. |
| DisplayItem | Gets display item. |
| DisplayItemCount | Gets display item. |
| DoneButton | Gets done button. |
| Edit | Gets edit. |
| EditButton | Gets edit. |
| Filter | Gets filter. |
| FilterButton | Gets filter. |
| PrecalculateItems | Gets or sets whether precalculate items is enabled or active. |
| SelectedItem | Gets or sets selected item. |
| SelectedItems | Gets or sets selected item. |
Methods
| Name | Description |
|---|---|
| AddItem | Adds a new table item. |
| ApplyFilter | Applies the current filter settings. |
| BeginUpdate | Starts a batch update. |
| CancelEditMode | Cancels the current edit mode. |
| CheckAllItems | Checks all checkable items. |
| ClearSelection | Clears the current selection. |
| CopyToClipboard | Copies table view content to the clipboard. |
| CutToClipboard | Cuts table view content to the clipboard. |
| DetailControlActive | Returns whether a detail control is currently active. |
| DisableInteraction | Temporarily disables user interaction. |
| Draw | Draws the control. |
| DrawBackground | Draws the control background. |
| EnableInteraction | Re-enables user interaction. |
| EndUpdate | Finishes a batch update and refreshes the control. |
| HideDetailControl | Hides the active detail control. |
| HideMoreOptions | Hides the more-options panel. |
| InitSample | Populates the control with sample content. |
| IsEditMode | Returns whether edit mode is active. |
| IsItemSelectable | Returns whether the item can be selected. |
| LoadFromFile | Loads table view content from a file. |
| LoadFromStream | Loads table view content from a stream. |
| LoadFromStrings | Loads table view content from strings. |
| LoadSettingsFromFile | Loads persisted settings from a file. |
| LoadSettingsFromStream | Loads persisted settings from a stream. |
| LookupCategory | Looks up a category by text. |
| LookupCustomCategory | Looks up a custom category by identifier. |
| LookupItem | Looks up an item by text. |
| MatchFilter | Returns whether an item matches the active filter. |
| PasteFromClipboard | Pastes table view content from the clipboard. |
| ReloadProgress | Returns the current reload progress. |
| RemoveFilter | Removes the active filter. |
| RemoveFilters | Removes all filters. |
| RemoveItem | Removes the specified item. |
| SaveToFile | Saves table view content to a file. |
| SaveToStream | Saves table view content to a stream. |
| SaveToStrings | Saves table view content to strings. |
| ScrollToItem | Scrolls the specified item into view. |
| SelectItem | Selects the specified item. |
| SelectItems | Selects the specified items. |
| SelectedItemCount | Returns the number of selected items. |
| ShowDetailControl | Shows the detail control. |
| ShowMoreOptions | Shows more options for an item. |
| Sort | Sorts the items. |
| StartEditMode | Starts edit mode. |
| StartFiltering | Starts filter editing. |
| StartReload | Starts the reload interaction. |
| StopEditMode | Stops edit mode. |
| StopFiltering | Stops filter editing. |
| StopReload | Stops the reload interaction. |
| ToggleEditMode | Toggles edit mode. |
| UnCheckAllItems | Unchecks all items. |
| UpdateReloadProgress | Updates the reload progress indicator. |
| XYToAccessoryItem | Returns the item accessory at the specified coordinates. |
| XYToBitmapItem | Returns the item bitmap at the specified coordinates. |
| XYToItem | Returns the item at the specified coordinates. |
| XYToItemIndex | Returns the item index at the specified coordinates. |
| XYToMoreOption | Returns the more option at the specified coordinates. |