UltraGridCellProxy losing backcolor on tabbing

Not Answered This post has 0 verified answers | 5 Replies | 3 Followers Thread's RSS feed.

uptime1
Points 55
Replied On: Fri, Aug 4 2017 8:25 AM Reply

Hello,

I attached a sample project illustrating the issue. When you open the UltraGridRowEditTemplate from a row in the grid and start tabbing through the UltraGridCellProxies the last one (address) will always lose its backcolor when you tab out while it retains its alphalevel. This seems to be a bug in my opinion and if not how can I fix it?

Thanks.

  • Post Points: 20

All Replies

Mike Bowshewicz
Points 11,205
Infragistics Employee
Replied On: Tue, Aug 8 2017 1:57 PM Reply

Hello,

Thank you for sending your sample. I tested this out on my end and I can see that the backcolor of the address field doesn't change to blue when tabbing away from it. Clicking on another field works as expected.

I also noticed that this seems to be related to giving focus to a button instead of another field. When using Shift+Tab to cycle backwards, it's the first field that exhibits the behavior instead. I can get it to happen by clicking (and holding, so as not to close the template) on a button from any field.

I will write this up for further review and keep you updated on what we find out.

Sincerely,

Mike B
Software Developer

  • Post Points: 20
uptime1
Points 55
Replied On: Wed, Aug 9 2017 2:32 AM Reply

Hey

Your analysis is correct so far. I just wanted to add that the problem doesn't only occur when the focus gets shifted to a button. Instead it happens when the focus gets shited to any control (Textbox, Combobox whatever) that isnt an UltragridCellProxy inside the UltraGridRowEditTemplate.

  • Post Points: 35
Mike Bowshewicz
Points 11,205
Infragistics Employee
Replied On: Fri, Aug 11 2017 10:08 AM Reply

I have investigated your issue and I have asked our engineering staff to examine it further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 240981. This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix or other resolution.

Please let me know if you need more information.

Sincerely,

Mike B
Software Developer

  • Post Points: 5
Mike Bowshewicz
Points 11,205
Infragistics Employee
Replied On: Fri, Aug 18 2017 10:17 AM Reply

Hello,

Our development team has completed their investigation and we have determined that this is not a bug. The reason for this happening is that there is an ActiveCellAppearance applied to the grid. This is why the cell proxies change color when editing them. So in the RowEditTemplate, when you click or set focus to another UltraGridCellProxy, you are changing the ActiveCell in the grid, so the previously-active proxy no longer shows the ActiveCellAppearance. But when you move from an active UltraGridCellProxy to some other control, like a button, the previous proxy is still the ActiveCell, so it still shows the ActiveCellAppearance.

Please let me know if you have any further questions.

Sincerely,

Mike B
Software Developer

  • Post Points: 5
Mike Saltzman
Points 464,890
Infragistics Employee
Replied On: Fri, Aug 18 2017 12:22 PM Reply

The ActiveCellAppearance in your sample doesn't seem to be doing a whole lot, anyway, so it seems like you might want to consider simply removing it. 

Mike Saltzman

Manager - Windows Forms Development

Infragistics, Inc.

  • Post Points: 5
Page 1 of 1 (6 items) | RSS