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.

grid border

Thread ID:

Created:

Updated:

Platform:

Replies:

120289 Sep 17,2015 11:07 AM Sep 18,2015 11:30 AM Xamarin.Android 1
loading
Tags: SfDataGrid
Ricardo Vega
Asked On September 17, 2015 11:07 AM

is it posible to remove the border from the  row grid or the cell , I havent found any sample about it

Harikrishnan N [Syncfusion]
Replied On September 18, 2015 11:30 AM

Hi Ricardo,

Thank you for using Syncfusion products.

It is possible to remove the borders from the grid rows and cells in the SfDataGrid. You can achieve it by writing a custom style for SfDataGrid. Please refer the below code example.



SfDataGrid dataGrid = new SfDataGrid();
dataGrid.GridStyle = new CustomStyle();

public class CustomStyle : DataGridStyle

{

    public CustomStyle()

    {


    }


    public override Color GetBorderColor()

    {

        return Color.Transparent;

    }
}


Please let us know if this helps.

Regards,
Harikrishnan


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.

;