Grid group count is 0

Hello,
when groping I want to display the number of items in the given group. I have done the following:
 <GridGroupSettings>
            <CaptionTemplate>
                @{
                    var order = (context as CaptionTemplateContext);
                    <div>@order.Key - @order.Count items</div>
                }
            </CaptionTemplate>
        </GridGroupSettings>

This used to work but it seems newer versions of syncfusion have changed something and now order.Count returns 0 when the group contains some items

1 Reply

RN Rahul Narayanasamy Syncfusion Team April 3, 2020 04:16 PM UTC

HI Ivan, 

Greetings from Syncfusion. 

Query: Grid group count is 0 

We have validated your query and we are able to reproduce the reported problem. We have considered it as a bug and logged defect report for the same Group item count value is getting 0 in Caption Template. 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 next Bi-Weekly release which is expected to be rolled out on or before April 07, 2020.  
   
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.   
   

Until then we appreciate your patience. 

Regards, 
Rahul  
 


Loader.
Up arrow icon