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 » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » GridCtrl summary row
GridCtrl summary row [message #17295] Wed, 06 August 2008 00:28 Go to next message
unodgs is currently offline  unodgs
Messages: 1353
Registered: November 2005
Location: Poland
Senior Contributor

Grid now supports summary row:
index.php?t=getfile&id=1298&private=0
To enable summary:
grid.SummaryRow();

Auto calculations:
grid.AddColumn("Price").DoSum("Total %` $");
grid.AddColumn("Length").DoMin();

Manual modifing of summary fields:
grid.SetSummary(5, "Min size: 10");
grid.SetSummary(TOTAL, "Total: 200.23");

Retrieving summary fields:
Value min = grid.GetSummary(5);
Value total = grid.GetSummary(TOTAL);

There is also a new callback WhenUpdateSummary called on appending, updating and removing rows.

This update will be commited when I finish cell popups.

PS: I remeber all grid requests. They're just waiting in queue Smile
  • Attachment: summary.jpg
    (Size: 95.47KB, Downloaded 476 times)

[Updated on: Wed, 06 August 2008 00:29]

Report message to a moderator

Re: GridCtrl summary row [message #17367 is a reply to message #17295] Sat, 09 August 2008 16:37 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 2921
Registered: August 2008
Veteran
Hello unodgs

GridCtrl looks better every time!. Could you post a sample with all the features?.

Best regards


Best regards
IƱaki
Re: GridCtrl summary row [message #17377 is a reply to message #17367] Sun, 10 August 2008 01:13 Go to previous message
unodgs is currently offline  unodgs
Messages: 1353
Registered: November 2005
Location: Poland
Senior Contributor

koldo wrote on Sat, 09 August 2008 10:37

Hello unodgs

GridCtrl looks better every time!. Could you post a sample with all the features?.

Best regards

Thanks! Examples: I could but I have to find free time first Smile. Of course examples with documentation will be delivered I just can't say when (especialy I'm working on grid 2.0 now).
Previous Topic: Simple "Synchronize SVN" added to TheIDE
Next Topic: Topic++ templates
Goto Forum:
  


Current Time: Sun Feb 17 10:44:12 CET 2019

Total time taken to generate the page: 0.00687 seconds