We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Error setting data source in grid when grid has frozen columns in version


I have this grid 

On the first render, when the datasource doesn't have any records there is no problem, and when I press the button to get the data, something like this, still no problem

But when i clear it with new datasource 

It show error 

But when i try older version, it runs without errors. Can you check it ?

Here is my code 

<SfGrid ID="gridShiiresaki" TValue="DataShiiresaki_GiosSirHelp"






<GridSelectionSettings PersistSelection="true" Mode="SelectionMode.Row"></GridSelectionSettings>


<GridColumn Field=@(nameof(DataShiiresaki_GiosSirHelp.Column1)) HeaderText="Test" AutoFit="true" IsFrozen="true" />

<GridColumn Field=@(nameof(DataShiiresaki_GiosSirHelp.Column2)) HeaderText="Test2" AutoFit="true" IsFrozen="true" />

<GridColumn Field=@(nameof(DataShiiresaki_GiosSirHelp.Column3)) AutoFit="true" />




private List<DataShiiresaki_GiosSirHelp> gridShiiresakiDataSource = new();

private SfGrid<DataShiiresaki_GiosSirHelp> gridShiiresaki;

private class DataShiiresaki_GiosSirHelp


public string Column1 { get; set; }

public string Column2 { get; set; }

public string Column3 { get; set; }




Thanh Ha.

8 Replies 1 reply marked as answer

VN Vignesh Natarajan Syncfusion Team October 26, 2022 02:09 AM

Hi Thanh ha,

Greetings from Syncfusion support.

We have already considered it as an bug and logged an issue  “From, Exception occur when trying to clear the datasource in frozen enabled Grid.” for the same. Thank you for taking time to report this issue and helping us to improve our product. At Syncfusion, we are committed to fix all validated defects (subject to technological feasibility and Product Development Life Cycle) and this fix will be included in our upcoming release which is expected to be rolled out on or before 3rd November, 2022.

You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.       


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization”

Until then we appreciate your patience.


Vignesh Natarajan

TH Thanh Ha October 26, 2022 02:45 AM

Hi   Vignesh Natarajan ,

Thank you for your help. Looking forward to your solution.

Best Regards,

Thanh Ha

SP Sarveswaran Palani Syncfusion Team October 29, 2022 02:04 AM

Hi Thanh,

Thanks for an update.

We'll inform you, once issue was fixed.

until then we appreciate your patience.


Sarveswaran PK

SP Sarveswaran Palani Syncfusion Team November 14, 2022 11:18 PM

Hi Thanh Ha,

We are glad to announce that, we have included fix for the issue “From, Exception occur when trying to clear the datasource in frozen enabled Gridin our release (  So please upgrade to our latest version of Syncfusion NuGet package to resolve the reported issue. Please find the Nuget package for latest fixes and features from below.

Nuget : https://www.nuget.org/packages/Syncfusion.Blazor.Grid

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 



Sarveswaran PK

Marked as answer

TH Thanh Ha November 16, 2022 07:34 PM

Hi  Sarveswaran Palani

Thanks you very much


Thanh Ha

SG Suganya Gopinath Syncfusion Team November 17, 2022 03:50 PM

We hope the provided fix helped to solve the issue. Please get back to us for further assistance. 

We are marking ticket as solved.

TH Thanh Ha November 17, 2022 09:14 PM

Hi Suganya Gopinath

There one more problem. In the grid above, i add one more control (ex: SfTextBox)

I focused in that text box, I pressed tab , it focused to the grid and then i pressed tab one again. It show error Can you check it ? when i run in a older version, it still work properly


Thanh Ha

VN Vignesh Natarajan Syncfusion Team November 29, 2022 09:00 AM

Hi Thanh Ha,

Sorry for the delay in getting back to you.

We are unable to reproduce the reported issue at our end while ensuring the reported issue using our Latest version. Refer to the attached sample for your reference.

If you are still facing the reported issue, kindly get back to us with more details about the issue.


Vignesh Natarajan

Attachment: BlazorGrid_2df7593d.zip

Live Chat Icon For mobile
Up arrow icon