Morris DeShong
06.16.2012
Show all comments
-
Are you handling the GridView's CustomUnboundColumnData event?
-
Yes I am. The initial value is retained in the cache. I am trying to synchronize a form field with the grid cell. If I change the form field the value is set and retained in the grid cell if I change the grid cell it always reports the original value.
-
When I set the cell value either using the spin arrows or by key board it shows IsGetData = true instead of IsSetData =true and the value is the original value instead of the value in the cell.
-
I am afraid it is difficult to provide you with a solution without a project illustrating this behavior. Would you please send us a small project to illustrate the issue?
-
Connect to the mdb file. When the program opens select any item from the Item catagory drop down. Click the check box on any item in the grid the quantity field is populated with a 1. The txt field quantity is updated in the form. Change the quantity value in the grid. The form is not updated. Change the value in the form, the grid is updated.
-
I am afraid I can't find your database. Perhaps I missed it or it wasn't attached.
-
Sorry, I missed adding it somehow.
You must
log in
or
register
to leave comments
1 Solution
Thank you for the provided information. The cause of the issue is that when you change the Quantity field via SpinEdit, you manually update a corresponding cell value. But, when you change its field via the Grid, you don't do this. You can change a SpinEdit value in the GridView.CellValueChanging event handler.
I have modified your project accordingly.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+