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.

No border on the Cell selected

Thread ID:

Created:

Updated:

Platform:

Replies:

119096 May 9,2015 08:27 AM May 11,2015 07:20 AM WPF 3
loading
Tags: SfDataGrid
MARQUANT Cédric
Asked On May 9, 2015 08:27 AM

Hi,

I would like to have no borders on the selected cell in the DataGrid. I did not find the associated style to reach this objective.

In the attached capture, I would like to remove the border around the FRANCE cell (cell currently selected).

Can you give the right operation ?

Regards,

Attachment: Capture_10368d52.zip

Akila Rajaram [Syncfusion]
Replied On May 11, 2015 02:52 AM

Hi  Marquant ,

 

Thank you for using Syncfusion Products .

 

We analyzed your query. You can customize the border of current cell  by adjusting its thickness and there is no need to  customize style of GridCell  .The  CurrentCellBorderThickness property of SfDataGrid allows you to adjust thickness of current cell border based on your requirement. We have prepared a sample to achieve your requirement. Please find the sample  from the following location:

 

Sample : http://www.syncfusion.com/downloads/support/forum/119096/SfDataGrid_Demo-1709878965.zip

 

 

Please find the following code snippet :

 

XAML :

 

   <syncfusion:SfDataGrid   x:Name="grid"

                            AutoGenerateColumns="False"

                            AllowEditing="True"

                            ColumnSizer="Auto"

                            SelectionUnit="Row"

                            NavigationMode="Cell"

                            CurrentCellBorderThickness="0,0,0,0"

                            ItemsSource="{Binding OrderList}">

 

Please let us know if this solution helps you.

 

Regards,

Akila R.


MARQUANT Cédric
Replied On May 11, 2015 04:58 AM

Thanks Akila,

It's so easy ;) It's perfectly works !

Regards

Saranya CJ [Syncfusion]
Replied On May 11, 2015 07:20 AM

Hi Marquant,

Thank you for your update. We are glad to know the sample works at your end. Please let us know if you require any other assistance on this.

Regards,
Saranya

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.

;