[]
Gets or sets a callback that is invoked after the Excel data has been parsed.
public Action<string[]> OnLoadedCallback { get; set; }
Type | Description |
---|---|
Action<string[]> | An Action<T> callback that provides the names of the sheets. |
grid.LoadExcel("ExcelFileSample.xlsx",
new LoadExcelOptions {
OnLoadedCallback = sheetNames =>
{
// sheetNames contains all sheets' names from the loaded Excel file.
}
});