MX-Frame Library Send comments on this topic.
AllowFilter
See Also
MX-Developer > User Interface - MxPart > Controls > Control Properties > GridDisplay > AllowFilter

Glossary Item Box

Defines whether user can filter data in the control.

Remarks

Property specifies if it is possible to create custom filter in order to limit the displayed data. Filter can be designed in Filter Builder. The tool offers all fields defined in the data source and several functions for operating with many different types of data. Functions can be used to determine any kind of condition or rule, by which the data is selected.

If property is set to True, data can be filtered. Filter builder is accessible through right click menu on the caption of a field. On the menu select Filter Editor option. The user currently logged in the application must have appropriate application role in order to have Filter Editor option available. To learn more about application roles see chapter Managing User Role Membership.

If property is set to False, the menu for Filter Editor is not visible. User cannot access Filter Builder. The default value for this property is True.

Example (MxSpace)

To see the defined AllowFilter property on a control (GridEdit) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click WorkOrderManagePart.cs. Click the GridEdit control for displaying work orders and open Property Window. See the value True defined in AllowFilter property.

To define AllowFilter property

  1. In Solution Explorer open MxPart component (WorkOrderManagePart) which contains the control (GridEdit).
  2. Select the desired control (GridEdit) on the canvas.
  3. Open Property Window.
  4. In section GridDisplay in AllowFilter property select the desired value (True).

See Also

©2009 Metronik. All Rights Reserved.