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.

Extra space above the grid header

Thread ID:





132466 Sep 4,2017 04:42 AM Sep 5,2017 02:41 AM Xamarin.Forms 1
Tags: SfDataGrid
Yossef Zaig
Asked On September 4, 2017 04:42 AM


We have extra white line above the sfDataGrid, is it possible to remove it ?

Attached picture


Ashok N [Syncfusion]
Replied On September 5, 2017 02:41 AM

Hi Yossef, 
Thanks for contacting Syncfusion support. 
You can achieve your requirement by writing a Style class overriding from DataGridStyle and assigning it to the SfDataGrid.GridStyle property. In override style class you can override GetGridLinesVisibility method and return GridLinesVisibility as None for removing the line from SfDataGrid. Please refer the below UG link to get more details about this  


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.

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.