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

sfDataGrid showing red borders around GridTemplateColumns

Thread ID:

Created:

Updated:

Platform:

Replies:

123487 Mar 22,2016 11:05 AM UTC Mar 24,2016 04:53 PM UTC WPF 3
loading
Tags: SfDataGrid
Willem Dijkgraaf
Asked On March 22, 2016 11:05 AM UTC

GridValidationMode="InView"

As soon as one of the validated columns has a validation error, all columns of type GridTemplateColumn show a red border around the cell. See attachment.

What to do to turn off these red borders?

With kind regards,

Willem Dijkgraaf


Attachment: sfDataGridRedBorderExample_bd82d470.zip

Jayapradha S [Syncfusion]
Replied On March 23, 2016 01:04 PM UTC

Hi Willem,

Thank you for contacting Syncfusion Support.


We have analyzed your reported issue with shared snapshot. You have mentioned “one of the validated columns has a validation error, all columns of type GridTemplateColumn show a red border around the cell”. If you don’t want to see that red color border around the template column, then you can set the GridValidationMode to None for that column. Or else please share your binding code for template and validated columns. .

Regards,
Jayapradha


Willem Dijkgraaf
Replied On March 24, 2016 08:52 AM UTC

Hi Jayapradha,

Thanks for your reply. Putting GridValidationMode to None won't be an option for me since those same columns (that get a red border) have validators as well.
Attached you'll find the XAML related to this grid issue. 
- Validation framework: DataAnnotationsExtenstions.
- Many custom validatros

Kind regards,

Willem Dijkgraaf



Attachment: CalculationRowsView_12e4b124.zip

Sivakumar R [Syncfusion]
Replied On March 24, 2016 04:53 PM UTC

Hi Willem,

We have tried to replicate the issue by loading template in column and GridValidationMode is working fine as expected. Can you modify the below sample to replicate the issue.
http://www.syncfusion.com/downloads/support/forum/123487/ze/DataValidationDemo-911400602

Thanks,
Sivakumar

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.

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

;