Articles in this section
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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied