Reset Control

Reset workbook (All worksheets)

To reset entire workbook, remove all worksheets and create an empty worksheet, use the reset method of control.

reoGridControl.Reset();

Reset worksheet

To reset specified worksheet, use the reset method of that worksheet.

reoGridControl.CurrentWorksheet.Reset();

Reset worksheet to specified rows and columns

To reset worksheet to specified number of rows and columns, us reset method and pass the number of rows and columns arguments.

// number of rows is 1000, and number of columns is 200
sheet.Reset(1000, 200);

Was the content of the page helpful?