MX-Frame Library Send comments on this topic.
Grid Edit
See Also
MX-Developer > User Interface - MxPart > Controls > Grid Edit

Glossary Item Box

A grid edit control is both a mix of visual communication and a mean of arranging data. The use of grid is pervasive mode of analyzing data.

Control grid edit is intended for displaying and editing data. With the help of this control data is presented to the user in an unlimited number of columns, giving the user an unprecedented ability to analyze and edit information.

Data can be displayed in a grid control with five different views: Grid View, Card View, Banded Grid View, Advanced Banded Grid View and custom view. Each of them presents data in its unique style, therefore offering the user more diversity when designing the user interface and the whole application.

Personalization

GridEdit control offers many useful features for arranging data, grouping data, filtering data, etc. Control is fully customizable in runtime. User can personalize the appearance of the control and the data in the control. Personalization can also be stored and distribute throughout the whole system. Personalization can be defined for individual user, group of users and many other entities.

In order to print the data user can avail Print Preview feature. Print preview document is customizable to a state so that it can be used as a report. Title can be defined, short description, company logo, etc.

Editing

With the help of several editors editing data was never before easier. Using these editors, data can be selected from a pre-prepared list of values or options. Many different types of editors can be used for editing data. Control can contain editor for any primitive data type as well as more complex such as image, expression, collection, etc. To learn more about editor see chapter Editors.

Security

Control supports extensive MX-Frame security model. Security can be defined for individual statement. This applies for both readable and writable statements. Therefore it is possible to deny access to the data for a particular user, group of users or any other standard security entity.

In addition to the standard security, data security can also be specified. This means that user can only have access to a specific data.

To learn more about security see chapter Security.

Runtime Localization

Control supports runtime localization. The name of all the columns can be localized for any language in runtime. This feature provides the administrator of the system yet another useful mean of customizing an application or a system. To learn more about runtime localization see chapter Runtime Localization.

Properties

Control has many properties that define the appearance and the behaviour of the control and the data displayed in the control. Defining properties it is possible to determine everything from data bindings, useful customization features and control’s navigation. To learn more about control’s properties see chapter GridEdit Properties.

Example (MxSpace)

To see the implementation of GridEdit control open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click WorkOrderManagePart.cs. See the GridEdit control used for displaying work orders.

To implement GridEdit control

  1. In Solution Explorer open the desired MxPart component (WorkOrderManagePart) and add GridEdit control from the Toolbox on the canvas to a desired location.
  2. Select the control and open Property Window.
  3. In Adapter property select the desired adapter.
  4. In DataSourceName property select the data source containing the field whose value will be displayed.
  5. In AutoScale property select the desired value (True) to determine how the fields are displayed when the control is in edit mode.
  6. In HelpVisible property select the desired value (False) to determine whether the help is visible when the control is in edit mode.

See Also

©2009 Metronik. All Rights Reserved.