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

How to hide header row in SfDataGrid?

Platform: Xamarin.iOS |
Control: SfDataGrid
Tags: general

In SfDataGrid, the header row is rendered with a default height of 50 which is maintained in a property called HeaderRowHeight. However this value can also be customized based on the requirement. In order to hide the header row in SfDataGrid, you need to set the “SfDataGrid.HeaderRowHeight” property value to zero.

Refer the below code example in which the HeaderRowHeight property is set to zero to hide the header row.


The following screenshot shows the final outcome of execution of the above code with header row hidden.


D:\New folder\Untitled5.png




2X faster development

The ultimate Xamarin UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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