We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Grouping Icon arrow direction

Thread ID:





146136 Jul 22,2019 12:35 PM UTC Jul 24,2019 06:57 PM UTC Xamarin.Forms 1
Tags: SfDataGrid
Web Synergies
Asked On July 22, 2019 12:35 PM UTC

Hi Team,
I need to display Grouping Icon Direction when it is in minimize the grid need to display icon right direction and it is collapse view mode need to be display down directionwhich i mentioned below image like number 2.

Balasubramani Sundaram [Syncfusion]
Replied On July 24, 2019 06:57 PM UTC

Hi Web Synergies, 
Thank you for using Syncfusion products. 
Based on the provided information, your requirement of “Customizing the icon of collapse / Expand of grouping in DataGrid” in Xamarin.Forms can be achieved using the GridStyle property of DataGrid. By inheriting the DataGridStyle you can get / set your customized icon to the collapse / Expand and set in the Grid style property. Please refer the following code example for the same.  
Please refer the sample and code snippet for your reference, 
_dataGrid.GridStyle = new DataGridStyleDemo(); 
public class DataGridStyleDemo: DataGridStyle 
    public DataGridStyleDemo() 
    public override ImageSource GetGroupCollapseIcon() 
        return ImageSource.FromFile("Right.jpg"); 
    public override ImageSource GetGroupExpanderIcon() 
        return ImageSource.FromFile("Left.jpg"); 
Whether your requirement to customize the collapse icon in DataForm. We can able to customize that too. Please refer the sample in below mentioned link for your reference. 
Sample link: DataForm 
If the given sample doesn’t meet your requirement, please modify the sample based on your scenario and revert to us assist you more. 
Balasubramani Sundaram.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon