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.

BorderView IsVisable property in DataGrid Xamarin Forms

Thread ID:





128198 Jan 7,2017 04:25 AM Jan 10,2017 02:19 AM Xamarin.Forms 3
Tags: SfDataGrid
Russ Fustino
Asked On January 7, 2017 04:25 AM

Is it possible to remove the cell and column borders from on a datagrid thru a XAML setting in Xamarin Forms? Ie set a visible property or width on these lines to 0?

Divakar Subramaniam [Syncfusion]
Replied On January 9, 2017 02:22 AM

Hi Russ, 
Thanks for contacting Syncfusion Support. 
We have checked your query. You can able to hide the cell and column borders in SfDataGrid by override SfDataGrid.DataGridStyle class and return GridLineVisibility as None in GetGridLinesVisibilty() override and assign the overridden class to SfDataGrid.GridStyle property. Please refer the below code snippet for better understand. 
<sfGrid:SfDataGrid x:Name="dataGrid" 
//CustomGridStyle class 
public class CustomGridStyle : DataGridStyle 
    public override GridLinesVisibility GetGridLinesVisibility() 
        return GridLinesVisibility.None; 
Also, we have prepared a simple sample by achieved your requirement and you can download the same from the below link. 

Russ Fustino
Replied On January 10, 2017 02:13 AM

Thanks! Much appreciated. Love the Zip too!

Ashok N [Syncfusion]
Replied On January 10, 2017 02:19 AM

Hi Russ,  

Thanks for your update. Please let us know if you require further assistance on this. 



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.