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

How to remove the border around the component?

Hello,

I use the SfDataGrid but I would like to know if there is a way to remove the border around the component?
When we we filter datas this border is hidden, or reajusted, so I thinks that it's possible, but I didn't found any solution...

- with borders:
with borders

- without borders:
without borders

1 Reply

JG Jai Ganesh S Syncfusion Team November 7, 2016 11:35 AM UTC

Hi Christophe, 
You can achieve your requirement by setting the BorderThickness of SfDataGrid like below, 
  <syncfusion:SfDataGrid x:Name="sfGrid" 
                                   Grid.Row="0" 
                                   ColumnSizer="Star" 
                                   SelectionMode="Extended" 
                                   AllowEditing="True" 
                                   BorderThickness="0,1,0,0" 
                                   AllowFiltering="True" 
                                   AutoGenerateColumns="False" 
                                   GridValidationMode="InView" 
                                   ItemsSource="{Binding ElementName=dataPager,Path=PagedSource}" 
                                   ShowRowHeader="True"/> 
 
Regards, 
Jai Ganesh S 


Loader.
Up arrow icon