Ticket Q249143
Visible to All Users

Unbound Column Combo Box Persistent Value

created 15 years ago

Hi,
I have a problem with a grid I have created. The underlying values are provided by the CustomUnboundColumnData event. A particular column can be A,B,C,D,E,F,G sourced from a combo box. The problem is, when the user selects A in row 1, and then clicks A again in row 2, the second A is not saved because the combo box editor thinks A is still selected, and so doesn't fire anything back down to the grid.
Is there any way I can reset the combo to <nothing> when the row changes?
Thanks.

Comments (2)
DevExpress Support Team 15 years ago

    Hi Maurice,
    The behavior of an inplace editor depends on how you handle the CustomUnboundColumnData event.
    I've created a small sample project which appears to work correctly. See the attachment.
    Does it help you solve the problem?
    Thanks
    Dimitros

      Many thanks for this. It allowed me to work out why the selection was persisting, which is that I had used a binding list to populate the combo, and that list was "remembering" the last value set.

      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.