The SelectionBackground is not applied to selected cells when the GridCell's Background is customized- From forum 193544

  • After I handle the cell background (Background property) the Selected style (CellSelectionBrush), that was (gray by default), is not visible anymore. So I am not able to difference when I am selecting cells or not.
    It is related with the opacity of the brush in the cell background but I do not want to reduce the opacity for the cell background. Is there any solution for that? Try to determine if the cell that is being painting is selected is not a solution for me because of the performance.

7 Replies 1 reply marked as answer

MS Malini Selvarasu Syncfusion Team August 13, 2024 02:02 PM UTC

Hi  Álvaro Sánchez López,

We have checked the reported issue "The SelectionBackground is not applied to selected cells when the GridCell's Background is customized." on our end and it is confirmed as a defect. And We have logged a bug. We will fix this issue and include it in our NuGet release Which is scheduled on Aug 27, 2024.
You can track the status of this report through the following feedback link,
Note: The provided feedback link is private, and you need to log in to view this feedback.
We will let you know once it is released. We appreciate your patience until then.
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
Regards,
Malini Selvarasu

Marked as answer

ÁS Álvaro Sánchez López August 13, 2024 02:17 PM UTC

I'm glad to hear that this will be fixed in the next version.

Thank you.

Regards



MS Malini Selvarasu Syncfusion Team August 27, 2024 02:54 PM UTC

Hi Álvaro Sánchez López,

We regret the inconvenience. We are unable to include the fix for this issue in our NuGet package which is released today as promised.
We will fix this issue and include it in our first NuGet after Main Release. We will let you know once it is released. We appreciate your patience until then.

Regards,
Malini Selvarasu


MS Malini Selvarasu Syncfusion Team September 24, 2024 01:37 PM UTC

Hi  Álvaro Sánchez López,

We apologize for the inconvenience caused.

Unfortunately, we were unable to resolve the reported issue within the promised timeline. Our team is actively investigating the problem, which stems from the arrangement of borders within the GridCell's ControlTemplate. Although the Selected Background is correctly applied, it is being overridden by the GridCell's background due to the current template structure.

Based on our analysis, addressing this issue requires modifications to the ControlTemplate of the GridCell. Therefore, we need additional time to thoroughly review and implement the necessary fix and will include the fix in our NuGet release, which is scheduled for October 08, 2024.

Regards,
Malini Selvarasu


MS Malini Selvarasu Syncfusion Team October 8, 2024 01:31 PM UTC

Hi  Álvaro Sánchez López,

We sincerely apologize for the inconvenience caused. Unfortunately, we were unable to include the fix for this issue in the NuGet package released today as promised.

However, we have addressed the issue and require additional time to ensure its stability. We will include the fix in our NuGet release scheduled for October 15, 2024. We appreciate your patience until then.

Regards,
Malini Selvarasu

 



MS Malini Selvarasu Syncfusion Team October 15, 2024 10:58 AM UTC

Hi   Álvaro Sánchez López,
We would like to let you know that Essential Studio Weekly NuGet packages (v27.1.53) has been published in nuget.org with the fix for the issue “The SelectionBackground is not applied to selected cells when the GridCell's Background is customized”. Please let us know if you have any concerns in this.
Root Cause Details:
The GridCellBorder background is applied above the SelectionCellBorder background, preventing the SelectionBackground from being displayed.

Regards,
Malini Selvarasu


MS Malini Selvarasu Syncfusion Team November 21, 2024 11:54 AM UTC

Hi  Álvaro Sánchez López,

We regret to inform you that the recent changes made to address the issue where the SelectionBackground was not applied to selected cells when the GridCell's background was set have been reverted in the Service Pack release (v27.2.2). This decision was made to align with standard behavior and ensure overall stability. Consequently, the previous behavior has been restored, where the SelectionBackground is not applied to customized GridCells.
We have tested this scenario in the MS DataGrid, and it exhibited the same behavior. When the GridCell background is customized, the SelectionBackground is not applied, and only the GridCell's background is retained when a row is selected. For your reference, we have attached a video demonstrating this behavior in the MS DataGrid.

We sincerely apologize for any inconvenience this may have caused and appreciate your understanding.
Regards,
Malini Selvarasu

Attachment: Video_Reference_4f21aca5.zip

Loader.
Up arrow icon