Issue in Blazor SfGrid GridColumn AutoFit="true" when using grouping with CustomAdaptor [19.1.67]

I'm having issue with blazor grid when grouping two columns.

Here is after page load


and this is what happen when I remove Category group


Please note initial page load GridCommandColumn are missing even though Width="150" is set

Code page attached.

Attachment: Test1_5a8c6512.rar

8 Replies

RS Renjith Singh Rajendran Syncfusion Team June 14, 2021 11:34 AM UTC

Hi ashimaz, 

Greetings from Syncfusion support. 

We suggest you to check this scenario by modifying the group handling codes as like the below highlighted to overcome this reported problem. 

 
var dataObject = new DataResult(); 
 
if (dm.Group != null) 
{ 
    IEnumerable resultData = dataSource; 
 
    foreach (var group in dm.Group) 
    { 
        resultData = DataUtil.Group<Order>(resultData, group, dm.Aggregates, 0, dm.GroupByFormatter); 
    } 
    dataObject.Result = resultData; 
    dataObject.Count = count; 
    return dm.RequiresCounts ? dataObject : dataSource; 
} 


Kindly try the above suggestion and please get back to us if you need further assistance.  

Regards, 
Renjith R 



AS ashimaz June 15, 2021 06:02 AM UTC

I have changed code as above but still having this issue.

Page Load


Category group removed


Type group removed



also  after group removed, I see column widths not working for AutoFit="true".

I am using blazor server with bold report css.



AS ashimaz June 15, 2021 07:20 AM UTC

Please note initial code works on one column grouping, issue is when I try to group more than one column.


RS Renjith Singh Rajendran Syncfusion Team June 17, 2021 01:14 PM UTC

Hi ashimaz, 

We have confirmed it as a bug and logged the defect report Problem with grouping AutoFit enabled columns when bind data using CustomAdaptor” 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 including the defect fix in our weekly release which is expected to be rolled out by the end of July, 2021.  
       
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.       
 
Regards, 
Renjith R 



RS Renjith Singh Rajendran Syncfusion Team October 5, 2021 03:24 AM UTC

Hi ashimaz, 

Sorry for the inconvenience caused. 

Due to some unforeseen circumstances, we have planned to include this in our upcoming bi-weekly release which is expected to be rolled out on or before the mid of October, 2021. 
  
Until then we appreciate your patience.  
  
Regards,  
Renjith R 



AS ashimaz October 5, 2021 03:31 AM UTC

Hi Renjith, 

Thanks for the update, patiently waiting 



RS Renjith Singh Rajendran Syncfusion Team October 6, 2021 05:46 AM UTC

Hi ashimaz, 

Thanks for your update. Please follow up on the feedback link for future updates on this issue. 

Regards, 
Renjith R 



RS Renjith Singh Rajendran Syncfusion Team October 27, 2021 01:56 PM UTC

Hi ashimaz,   
 
We are glad to announce that our latest release(19.3.0.47) has been successfully rolled out. We have included the fix for this issue “Problem with grouping AutoFit enabled columns when bind data using CustomAdaptor” in our latest version release. So please upgrade to our latest release for latest fixes and features.  
 
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,              
Renjith R  


Loader.
Up arrow icon