Category / Section
How to disable an empty row at the end of the Grid?
1 min read
In order to disable the addition of a default empty row at the end of the grid, the EnableAddNew property can be used.
C#
//Disables the empty row at the end of the Grid. this.gridDataBoundGrid1.EnableAddNew = false;
VB
'Disables the empty row at the end of the Grid. Me.gridDataBoundGrid1.EnableAddNew = False
Screenshot
Sample Links
C#: HideEmptyRow_CS
VB: HideEmptyRow_VB