Ed Leafe wrote: > On Dec 10, 2006, at 6:34 AM, Dr R.J.Appleton wrote: > >> Thank you for this - it works fine apart from updating zzzname in the >> grid to reflect edits made in the edit form. > > Well, grids really aren't the place to do this. You could set the > editor for the column to a dropdown list control, following the > example on the Wiki, but a better solution is not to edit complex > stuff in a grid.
I think you have misunderstood me - I meant after an edit has been made in the edit form (not the grid) the grid display did not update the zzzname column to reflect the change. The id column was updated. >> I can handle this by overwriting setFieldVal() in the business >> object to >> update zzzname if the record has changed and the field being set is >> yyy.zzz >> >> However setFieldVal() can be called more than once as a result of a >> single edit change, so I was wondering if there was a better way of >> doing this. > > Probably bizobj.validateField(); let me know if the docs aren't > sufficient to understand how to code it. Thanks again for your help - this may be a good topic to post to the Wiki's 'How To' section. > -- Ed Leafe > -- http://leafe.com > -- http://dabodev.com > > > > _______________________________________________ > Post Messages to: [email protected] > Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
