Hi all,
I am getting an Object not set to an instance of an object error when I am invoking the RefreshAsync() on SfTreeGrid object.
What could be the issue?
<SfButton OnClick="Refresh" Content="Refresh data"></SfButton>
<SfTreeGrid @ref="sfTreeGrid">
Some fields here
</SfTreeGrid>
@code {
SfTreeGrid<DataObject> sfTreeGrid = new SfTreeGrid<DataObject>();
private async Task Refresh()
{
await this.sfTreeGrid.RefreshAsync(); <---- here gets the error thrown.
}