Update Column Names in a Base Form
- Last UpdatedJun 25, 2024
- 1 minute read
You can update the column names in a Base Form with Display Mode set to Grid by updating the tag name of the control present in the column.
-
Create a form, and add a Base Form container control.
-
Add 2 controls to the record of the Base Form container control as follows:
-
Text control for the first column.
-
Number control for the second column.
-
-
Add a Button control and name it Update Column Names.
-
Modify properties of the Button control as follows:
-
In the Basic tab, set the Button Type as Custom.
-
In the Advanced tab, set the script for the On Click property as follows:
control.findByXmlNode("FirstColumn").tagName = "Updated Column 1 Name";
control.findByXmlNode("SecondColumn").tagName = "Updated Column 2 Name";
-