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 questions
Re: GridCtrl questions [message #31841 is a reply to message #31825] Wed, 30 March 2011 18:17 Go to previous message
koldo is currently offline  koldo
Messages: 3443
Registered: August 2008
Senior Veteran
Hello Daniel and all

Thank you for your answers.

About Toolbar, the trick is in function RebuildToolBar(). So, the code in callback could be:

grid.Appending(visible).Duplicating(visible).Removing(visible);
grid.RebuildToolBar();


About WhenRemovedRow()... it does not serve as it is a Callback and should be a Gate, I mean, if user clicks Del to remove a row, it would be called to validate or not the deletion so it would have to return some bool.

Any ideas? Smile


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Newbie question: ArrayCtrl::IsModified(int ii) not work at expected.
Next Topic: DropGrid improvement proposals
Goto Forum:
  


Current Time: Fri Aug 29 11:43:06 CEST 2025

Total time taken to generate the page: 0.05190 seconds