Bug Report T201100
Visible to All Users

Layout View - The first click on a button of an in-place editor located in a cell that is currently not focused doesn't fire the Properties.OnButtonClick event if the View's OptionsBehavior.ItemHotTrack property is set to False

created 10 years ago

Hello,

i've discovered strange behavior in TcxGridLayoutView. It's about how it behaves for end user under these conditions:
- Options.ShowEditButtons = isebAlways
- Properties = ButtonEdit - can be any other type that shows any button (drop down button, calcedit)
- OptionsBehavior.ItemHotTrack = False
- OptionsCustomize.ItemFiltering = False

In attached sample you can se the difference between TcxGridLayoutView and TcxGridTableView behaviour. If end use move the mouse over anz button in cell in TcxGridTableView the button gets active and, what's the most important, when i click, the "OnButtonClick" event is executed.
In contrast to that behavior - in LayoutView it works just for focused item. It means that when item "ID" is focused, then i can't click on the button in "Descr" item. First i have to clic on descr and then on button.

Is it possible to unify these? As i said it only becomes when ItemHotTrack AND ItemFiltering are both False so i think this behavior is not by intent. In my app i have both of these options disabled and it's better for the way i use LayoutView.

Regards from Prague,
Jaroslav Nechyba

Comments (1)
DevExpress Support Team 10 years ago

    Hello Jaroslav,

    The TcxGridDBTableView class does not have the OptionsBehavior.ItemHotTrack property, so I am not sure that it is correct to compare a table view and layout view in this scenario. Anyway, I have forwarded this ticket to our developers for additional research.

    Answers approved by DevExpress Support

    created 10 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.