Unplanned
Last Updated: 12 Jul 2024 20:31 by Rodrigo
Created by: Rodrigo
Comments: 0
Category: CollectionView
Type: Feature Request
1

Hi Team,

Please consider adding a way to cancel a group's expand/collapse action when the user taps on the group header.

For example, through a GroupTapping event handler that fires just before GroupTapped, and we can execute logic that prevents the operation:

private void RadCollectionView_OnGroupTapping(object sender, RadTappingEventArgs<GroupContext> e)
{
    if (e.Data.Key.ToString() == "GroupToStayPermanentlyExpanded")
    {
        e.Cancel();
    }
}


// which uses this imaginary event args with Cancel method
public class RadTappingEventArgs<T>(T data) : RadTappedEventArgs<T>(data)
{
    public void Cancel()
    {
        // prevents GroupTapped event
    }
}

Thank you,

Rodrigo

In Development
Last Updated: 27 Jun 2024 12:45 by ADMIN
Scheduled for 2024 Q3
Created by: Angus
Comments: 1
Category: CollectionView
Type: Feature Request
0
Provide an option to define header and footer templates