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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to remove the border around the component?

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 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 


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon

;