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.

How to remove the border around the component?

Thread ID:

Created:

Updated:

Platform:

Replies:

127230 Nov 4,2016 03:31 AM Nov 7,2016 06:35 AM UWP 1
loading
Tags: SfDataGrid
Pierre-Christophe DUS
Asked On November 4, 2016 03:31 AM

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

Jai Ganesh S [Syncfusion]
Replied On November 7, 2016 06:35 AM

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 


CONFIRMATION

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.

;