Set default value when create new line Grid

Hi guys, i want to set a default value when i create a new line Grid (created data in Grid).

Hello,

For initializing fields with default values while creating a new record, you should override the initValue table method of the table which you are using as a datasource of the form. The initValue table method is executed when a new record is created and it is automatically called from forms.

U can set the fixed value of that field in initValue() of the table

thanks guys :smiley: