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
close icon

Not able to set grid height with DrawerContentView

Hi,

I am trying to add sfDataGrid, inside a sfDrawerNavigationDrawer  as a DrawerContentView, but as show in picture, no what I do it does not expand beyond some height.

Also I wand to customize group header color, font and text. 

Regards,
Mahesh


Attachment: sfGrid_c0b1dd8d.zip

1 Reply

AN Ashok N Syncfusion Team November 4, 2016 03:36 AM UTC

Hi Mahesh, 

Thanks for contacting Syncfusion support. 

Query Regarding GroupCaptionText: 
You can achieve your requirement by setting SfDataGrid.GroupCaptionTextFormat as empty, as in the below code snippet 
<sfgrid:SfDataGrid x:Name="dataGrid"  
                   GroupCaptionTextFormat="" 
                   ItemsSource="{Binding OrdersInfo}"> 
</sfgrid:SfDataGrid> 

Query Regarding GroupCaptionText customization and Background color change: 
You can achieve your requirement by writing a Style class overriding from DataGridStyle and assigning it to the SfDataGrid.GridStyle property. Please refer the below UG link to get more information about DataGridStyle customization.  

Regards, 
Ashok 


Loader.
Live Chat Icon For mobile
Up arrow icon