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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize the GroupDropArea?

You can customize GroupDropArea appearance by writing style for GroupDropArea. In style, GroupDropArea Height is changed by setting Height property and GroupDropArea text is changed by setting GroupDropAreaText property.

Refer the following code example.

XAML

 

Here the Height is set as 80 for GroupDropArea and GroupDropAreaText is set as Grouped Columns. You can change the appearance of GroupDropArea by setting Background, Foreground, FontSize, properties etc.

The following screenshot displays the customized GroupDropArea.

F:\KB\Images\Group.png

To display the GroupDropArea in Expanded State while loading

By default, GroupDropArea is in collapsed state when loading the SfDataGrid. By setting IsGroupDropAreaExpanded property to true, you can display the GroupDropArea in expanded state while loading. Refer the following code example.

XAML

 

The following screenshot displays the default GroupDropArea in Collapsed state.

F:\KB\Images\GroupDrop.png

 

The following screenshot displays the GroupDropArea in Expanded state by setting IsGroupDropAreaExpanded to true.

F:\KB\Images\Group.png

Sample Links:

WPF

WinRT

SilverLight

UWP

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework: Product Version:
2435 08/06/2014 01/25/2016 Silverlight SfDataGrid 4.5 12.1.0.43
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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