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 20.3.0.47

Hi,

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 19.4.0.52, it runs without errors. Can you check it ?

Here is my code 

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

Width="auto"

Height="460px"

DataSource="@gridShiiresakiDataSource"

@ref="gridShiiresaki"

AllowResizing="true">

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

<GridColumns>

<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" />

</GridColumns>

</SfGrid>


@code{

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; }

}

}


Regards,

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 20.3.0.47, 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.       


https://www.syncfusion.com/feedback/38104/exception-thrown-after-upgrading-to-20-3-47


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.


Regards,

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.

Regards,

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 20.3.0.47, Exception occur when trying to clear the datasource in frozen enabled Gridin our release (20.3.0.56).  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. 

   

Regards,            

Sarveswaran PK



Marked as answer

TH Thanh Ha November 16, 2022 07:34 PM

Hi  Sarveswaran Palani


Thanks you very much


Regards,

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


Regards,

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.


Regards,

Vignesh Natarajan


Attachment: BlazorGrid_2df7593d.zip

Loader.
Live Chat Icon For mobile
Up arrow icon