Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl: master detail interactions
GridCtrl: master detail interactions [message #34423] Mon, 21 November 2011 14:17 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I have two tables master and detail. I have a button for each table that perform an Add row.
These buttons act independently of each other. It happens that I can add a row in Detail table even when the Master table record is being edited/inserted but not yet accepted.
When the Master table is being edited I would like to prevent any other action. In fact, make no sense to create a detail row if the ID of the master row is not yet created... and sometimes happen weird things with lost of data.
Is there preferred way to force the user to finish the editing of the master row before he can do some other task?
Perhaps I need to disable the controls related to the details table while working on the master one. Is there some specific way that can be achieved via 'When...' ?

Thanks,
Luigi
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to set the color of a row
Next Topic: Is this a bug?
Goto Forum:
  


Current Time: Thu Apr 25 22:36:16 CEST 2024

Total time taken to generate the page: 0.03946 seconds