RadDataForm: Overview

The DataForm for NativeScript helps you edit the properties of a business object during runtime and build a mobile form fast and easy. All you have to do is set a business object as a value for the source property and the data form will automatically generate editors for each member. The DataForm offers built-in editors for each of the primitive types. It also features Read-only mode.

NativeScriptUI-DataForm-Overview-Android NativeScriptUI-DataForm-Overview-iOS

Here's the getting started page that demonstrates how to start using Data Form in a NativeScript application.

Entity Property

When you need to make some adjustments on the editors that are used to edit your entity's properties, you can use the EntityProperty object. This article contains more information about your available options.

Commit

When you make changes to a property through its editor the changes are commited depending on the selected commit mode. This article contains more information about the commit of properties in data form.

Validation

If you need to validate the user's input before it's committed, you can use some of the predefined validators. Here's more information about the validation in DataForm for NativeScript.

Editors

DataForm for NativeScript allows you to select a proper editor for each property of your business object and optionally customize it according to your preferences. You can see the full list of available editors here and see how to create custom editors here.

Groups

You can easily combine the properties in groups and optionally allow them to be collapsed. More information is available here.

Group Layouts

Once the fields are grouped, you can easily change the layout that is used for each group. More information is available here.

Styling

You can change the style of each of the editors of the data form and also to the group headers if the grouping is enabled. You can read more about the customizations here.

Image Labels

You can easily add an image to each editor that hints for its purpose instead of the default text that is displayed for each editor. You can read more about the image labels here.