If you want to automatically create a new empty record in a for grid when the form is empty you can set "Insert if empty" property to yes in data grid Otherwise set it ito No and this is the result
Category: Attributes
D365FO – AX – X++ attribute classes
Reference article : https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-attribute-classes This topic describes the use of attributes in X++. An attribute is a non-abstract class that extends (inherits from) the SysAttribute class. Attributes represent or store metadata about types and methods. An attribute can be attached to a class, an interface, or a method of a class, interface, or table. Creating an attribute … Continue reading D365FO – AX – X++ attribute classes