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

Extra space above the grid header

Hi

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

Attached picture





Thanks

1 Reply

AN Ashok N Syncfusion Team September 5, 2017 06:41 AM UTC

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  
 
 
 
Regards, 
Ashok 


Loader.
Live Chat Icon For mobile
Up arrow icon