Ticket T982882
Visible to All Users

AV if mouseover tcxbuttonedit on gird

created 4 years ago (modified 4 years ago)

Hello
In the example is a grid with two columns. One column is a TcxButtonEdit. There, <Column OnGetProperties> disables the ButtonEdit in one record.
If now the mouse is moved over this cell, an AV with access violation appears.

Answers approved by DevExpress Support

created 4 years ago (modified 4 years ago)

Hello Christian,

I've examined your code and I see that it is incorrect. If you read the "TcxCustomGridTableItem.OnGetProperties Event" help topic that describes how you can use the OnGetProperties event, you will see that modifying the AProperties parameter of the event handler is incorrect. The correct way is to create two RepositoryItems with different settings and set the AProperties parameter to the required RepositoryItem according to your conditions.

Please refer to the T980675: Error in the TcxGrid component, checkbox type field, OnGetPropertiesForEdit event ticket where a similar issue has already been discussed.

    Comments (2)
    CG CG
    Christian Graack 4 years ago

      Is working. Thanks for the support.

      DevExpress Support Team 4 years ago

        You are always welcome!

        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.