Skip to main content
Table of Contents

TTMSFNCDataGridLocalizationOptions Class

Localizable strings and hints used by the DataGrid filtering UI.

API unit family: TMSFNCDataGridRenderer Inherits from: TPersistent

Syntax

GeneratedPascalC++
TTMSFNCDataGridLocalizationOptions = class(TPersistent)
class PASCALIMPLEMENTATION TTMSFNCDataGridLocalizationOptions : public System::Classes::TPersistent

Remarks

Reached through the grid's Options.Localization. Defaults are English resource strings; only values that differ from the default are stored in the form file. The texts are read when the filter popup is built, so changes appear the next time it opens. The special value-list entries (FilterAllText, FilterEmptyText, FilterNotEmptyText) are recognised by their text, so choose captions that cannot collide with real cell values.

Properties

Name Description
FilterAllText Caption of the first entry in the filter value list, which selects all values (clears the value filter). Default is (All).
FilterClearButtonHint Hint displayed for the button that clears the active column filter. Default is Clear Filter.
FilterEditPrompt Prompt (placeholder) text displayed in the empty filter edit field. Default is Filter.
FilterEmptyText Caption of the filter value-list entry that matches empty cell values. Default is (Empty).
FilterNotEmptyText Caption of the filter value-list entry that matches non-empty cell values. Default is (Not Empty).
FilterSortButtonAscendingHint Hint displayed for the ascending sort button in the filter UI. Default is Sort Ascending.
FilterSortButtonAscendingText Caption of the ascending sort button in the filter UI. Default is Sort Ascending.
FilterSortButtonDescendingHint Hint displayed for the descending sort button in the filter UI. Default is Sort Descending.
FilterSortButtonDescendingText Caption of the descending sort button in the filter UI. Default is Sort Descending.
FilterTypeButtonHint Hint displayed for the button that opens the filter type (comparison) selector. Default is Filter Type.
FilterTypeContainsText Caption for the filter comparison that checks whether a value contains the entered text. Default is Contains.
FilterTypeEmptyText Caption for the filter comparison that checks whether a value is empty. Default is Empty.
FilterTypeEndsWithText Caption for the filter comparison that checks whether a value ends with the entered text. Default is Ends with.
FilterTypeEqualText Caption for the filter comparison that checks whether a value equals the entered value. Default is Equals.
FilterTypeLargerOrEqualThanText Caption for the filter comparison that checks whether a value is larger than or equal to the entered value. Default is Larger than or equal to.
FilterTypeLargerThanText Caption for the filter comparison that checks whether a value is larger than the entered value. Default is Larger than.
FilterTypeNotContainsText Caption for the filter comparison that checks whether a value does not contain the entered text. Default is Does not contain.
FilterTypeNotEmptyText Caption for the filter comparison that checks whether a value is not empty. Default is Not Empty.
FilterTypeNotEqualText Caption for the filter comparison that checks whether a value does not equal the entered value. Default is Does not equal.
FilterTypeSmallerOrEqualThanText Caption for the filter comparison that checks whether a value is smaller than or equal to the entered value. Default is Smaller than or equal to.
FilterTypeSmallerThanText Caption for the filter comparison that checks whether a value is smaller than the entered value. Default is Smaller than.
FilterTypeStartsWithText Caption for the filter comparison that checks whether a value starts with the entered text. Default is Starts with.

Used by