By default, Forms designer generates 10 columns in data grid from a data table. But if the RPA developer requires to display more than 10 columns, the following steps can be followed
Drag-drop the child components inside data grid component.
The components inside a data grid can be either:
- Auto-generated according to the column’s and their data types OR
- RPA developers can drag-and-drop components inside data-grid according to their choice (like a dropdown/email/phone number field instead of a text field). They’ll have to match the field key of such components to be the column names of the DataTable. And in this case, auto-schema generation would not be invoked. So whatever one dragged-and-dropped is what gets rendered in the form.
For example, if we have 12 columns (Col1 to Col12), the text fields could be added inside datagrid component. The keys for each added component should have the field key as the name of the column name of the DataTable.