Hi,
I am having some difficulty with the CellValueChanged event on the XtraGrid.
I have a bound bool column which displays a checkbox and I am trying to update some controls on the form when any checkboxes become checked.
The problem I am facing is that the CellValueChanged event only seems to fire once the bound object is changed AND you click off of the row in the grid.
Is there a way of firing this event (or another event) immediately? e.g. As soon as data in the grid is changed.
Thanks for your support.
Scott
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.
Hi Scott ,
Thank you for contacting us.
To catch the moment when an end-user changes some value in its cell, please handle the EditValueChanged event of a corresponding RepositoryItem.
Please review the following example, which should be helpful:
How to update a row's style immediately after a an inplace editor's value is changed
Feel free to contact us if you need any further assistance on this item.
Thanks
Dimitros
Thanks, this really helped. Just to point out for any others reading this, the key is to call the following:
gridView1.PostEditor();
in the EditValueChanged event.