While adding a new record in grid, by default in edit form it shows ‘0’ for number/integer column and “ ”(empty string) for string column. In certain cases, you may want to change that value in add edit form, this can be achieved by using defaultValue property of columns.
This property helps to define the specified default value while adding a new record in the Grid.
The following screenshot shows the specified default values while adding the record.
Figure 1: Output
This page will automatically be redirected to the sign-in page in 10 seconds.