EnableFilter: Boolean;
The EnableFilter property determines whether the field for dimension element filtering is displayed.
Available values:
True. The element filtering field is displayed.
False. Default value. The element filtering field is not displayed.
If some text is in the filtering field, the component elements list contains only the elements, which names contain the specified text:
Executing the example requires the following components on the form: Button named Button1, DimensionTree named DimensionTree1 and UiDimension named UiDimension1. A calendar dictionary is selected as a data source for UiDimension, and UiDimension1 is selected as a data source for DimensionTree.
Add a link to the ExtCtrls system assembly.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
//Enable filter
DimensionTree1.EnableFilter := True;
End Sub Button1OnClick;
Clicking the button displays the filed for filtering dimension elements.
See also: