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 previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate 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 707 times)

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

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Simple "Synchronize SVN" added to TheIDE
Next Topic: Topic++ templates
Goto Forum:
  


Current Time: Sun Apr 28 18:55:46 CEST 2024

Total time taken to generate the page: 0.02287 seconds