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

Only show horizontal lines

Hello,

in the SfDataGrid i only want to show the horizontal line.
Is this possible ?

Greets

1 Reply

SV Srinivasan Vasu Syncfusion Team May 31, 2017 06:32 AM UTC

Hi Denig, 
  
Thanks for contacting Syncfusion support.  
 
We have analyzed your query and you can achieve your requirement by customizing style for GridCell.  
 
Please refer the below code example. 
 
<Window.Resources> 
        <Style  TargetType="Syncfusion:GridCell"> 
            <Setter Property="BorderThickness" Value="0,0,0,1"/> 
        </Style>         
 </Window.Resources> 
 
Please download sample from the below location. 
 
 
Regards,
Srinivasan 


Loader.
Live Chat Icon For mobile
Up arrow icon