In order to show the new row ("Click here to add a new row
"), it is necessary to have RowCount > 0
. Thus, you will be able to show the column headers, the rest of the system rows like the new and filtering rows and one data row.
.radVirtualGrid1.RowCount = 1;
.radVirtualGrid1.ColumnCount = 5;
.radVirtualGrid1.CellValueNeeded += radVirtualGrid1_CellValueNeeded;
sender, Telerik.WinControls.UI.VirtualGridCellValueNeededEventArgs e)
(e.RowIndex == -1 && e.ColumnIndex > -1)
Please refer to the following help article demonstrating how to handle add, delete and update rows in RadVirtualGrid
I hope this information helps.
Dess | Tech Support Engineer, Sr.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.