Version

Field Sizing

A DataPresenter control gives your end users the ability to automatically resize a field by double clicking a field’s resizing indicator. This behavior replicates the column-sizing functionality found in Microsoft® Excel®. Furthermore, just like Excel, your end users can synchronize field sizing by selecting multiple fields and dragging or double clicking a resizing indicator. However, if you enable field selection by setting a FieldSettings object’s LabelClickAction property to SelectField, your end users will not be able to click a field’s header to sort the field.

In addition to your end users auto sizing a field, the DataPresenter controls can automatically resize all fields within a field layout to fit within the bounds of the control. To complement this feature, the DataPresenter controls also allow you to set a field’s width as a percentage using the same star-sizing syntax found in the Grid panel.

Click on the topics below to find information on field sizing.

Learn how to manually set field size using different units and methods.

Learn about the different the modes of the "auto-fit" feature that can be set on the fields.

Learn about the different factors that have influence over the field resizing indicator.

Learn when and how to force execution of the "auto-sizing" feature from the programming code.