Footer aggregate missing in a virtualized grid with allowsorting=true

In a virtualized grid (EnableVirtualization="false" Height="400" AllowGrouping="true") the footer only shows if I set an initial group of columns before data loading and it doesn't update if I delete the group and select new data.

If the grid is not virtualized, the footer shows and actualizes without problem.


4 Replies

RN Rahul Narayanasamy Syncfusion Team February 17, 2022 03:34 PM UTC

Hi Daniel, 

Greetings from Syncfusion. 

Query: Footer aggregate missing in a virtualized grid with allowsorting=true 

Based on your details, we suspect that you are facing issues with showing footer aggregate value with sorting property. We have checked your reported problem with the provided details and we could not able to reproduce the reported problem. The footer aggregate information is shown properly in virtualization enabled grid with AllowSorting property. Find the below sample for your reference. 


Also, we need some details regarding your reported problem. Could you please share the below details which will be helpful to validate and provide a better solution. 

  • Full Grid code snippets.
  • Reproduce the reported problem in the provided sample and revert back to us / share a simple reproduceable sample if possible.
  • Video demonstration the problem.
  • Whether did you facing issues with virtualization and displaying footer information? Since you have shared code as EnableVirtualization as false.
  • More details about your requirement.

Regards, 
Rahul 



DA Daniel April 18, 2022 11:47 AM UTC

Hi  Rahul,

Could you check your project sample loading data after a button click instead of using OnInitialized? The aggregates are not shown.


SfGrid<Order> grid;

public List<Order> GridData { get; set; }
protected override void OnInitialized()
{
}
private async Task LoadData()
{
     List<Order> Order = new List<Order>();
     int Code = 10000;
     for (int i = 1; i < 10000; i++)
     {
     Order.Add(new Order(Code + 1, "ALFKI", i + 0, 2.3 * i, false, new DateTime(1991, 05, 15), "Berlin", "Denmark", new DateTime(1996, 7, 16), "Kirchgasse 6"));
          Order.Add(new Order(Code + 2, "ANATR", i + 2, 3.3 * i, true, new DateTime(1990, 04, 04), "Madrid", "Brazil", new DateTime(1996, 9, 11), "Avda. Azteca 123"));
          Order.Add(new Order(Code + 3, "ANTON", i + 1, 4.3 * i, true, new DateTime(1957, 11, 30), "Cholchester", "Germany", new DateTime(1996, 10, 7), "Carrera 52 con Ave. Bolívar #65-98 Llano Largo"));
          Order.Add(new Order(Code + 4, "BLONP", i + 3, 5.3 * i, false, new DateTime(1930, 10, 22), "Marseille", "Austria", new DateTime(1996, 12, 30), "Magazinweg 7"));
          Order.Add(new Order(Code + 5, "BOLID", i + 4, 6.3 * i, true, new DateTime(1953, 02, 18), "Tsawassen", "Switzerland", new DateTime(1997, 12, 3), "1029 - 12th Ave. S."));
          Code += 5;
      }
      GridData = Order;
}






RN Rahul Narayanasamy Syncfusion Team April 19, 2022 02:58 PM UTC

Hi Daniel,


Thanks for sharing the details.


We have considered your query as a bug and logged the defect report “Footer Aggregate is not rendered while dynamically assigning the grid data source with Virtualization enabled grid” for the same. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle) and will include the fix in our upcoming patch release which is expected to be rolled out on or before the end of May 2022. Until then we appreciate your patience.


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/34274/footer-aggregate-is-not-rendered-while-dynamically-assigning-the-grid-data-source


Regards

Rahul



VN Vignesh Natarajan Syncfusion Team June 6, 2022 04:34 AM UTC

Hi Daniel,

We are glad to announce that our weekly patch release 20.1.0.56 is rolled out and a fix for the issue has been included in this release. Kindly upgrade to the latest version to resolve the reported issue.

NuGet: https://www.nuget.org/packages/Syncfusion.Blazor/

Release notes: https://blazor.syncfusion.com/documentation/release-notes/20.1.56?type=all#grid

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

Regards,

Vignesh Natarajan



Loader.
Up arrow icon