I'm implementing a mobile order system and using the groups for different categories. The user can expand a group by clicking on the small triangle, but I would like to allow them to click anywhere on the group cell. Is that possible?
Here is possible example:
<GroupHeaderTemplate>
<div onclick="this.closest('tr').querySelector('.rz-row-toggler').click()">
@context.GroupDescriptor.GetTitle(): @(context.Data.Key ?? ""), Group items count: @context.Data.Count, Last order date: @(context.Data.Items.Cast<Order>().OrderByDescending(o => o.OrderDate).FirstOrDefault()?.OrderDate)
</div>
</GroupHeaderTemplate>
1 Like