Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 237916

Summary: Add possibility to add a ColumnFooterRenderer
Product: z_Archived Reporter: Thomas Schindl <tom.schindl>
Component: NebulaAssignee: Chris Gross <cgross>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: tom.schindl: review? (cgross)
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
An initial implementation
none
Fixing final problem with incorrectly handling mousedown in summary column
none
Remove commented code parts wayne.beaton: iplog+

Description Thomas Schindl CLA 2008-06-20 07:55:44 EDT
Currently the grid allows to define a ColumnRenderer for the Head of a column. Some grids have the show a ColumnFooter. This is a spin of from bug 166089 which discusses fixed scrolling rows.
Comment 1 Thomas Schindl CLA 2008-06-20 07:58:39 EDT
Created attachment 105486 [details]
An initial implementation

There are some small issues to resolve (e.g. click in the footer is not handled appropiately). Support to add a control has to be added after it is clear how the API for the header looks like.
Comment 2 Thomas Schindl CLA 2008-06-23 09:53:11 EDT
Created attachment 105633 [details]
Fixing final problem with incorrectly handling mousedown in summary column
Comment 3 Thomas Schindl CLA 2008-06-23 09:57:32 EDT
Chris, I'm marking this for review for you. There are feature we can later to the ColumnFooter (like ToolTips, click support, ...).
Comment 4 Thomas Schindl CLA 2008-06-23 09:58:12 EDT
Created attachment 105634 [details]
Remove commented code parts
Comment 5 Chris Gross CLA 2008-06-25 13:54:46 EDT
Comments:

GridColumn.setFooterRenders says "Sets header renderer" (i.e. copied comments).  Same is true in BottomLeftRenderer.

Thats really the only stuff I have to change.  Really this looks excellent as well.  And its a big feature that users will appreciate.

One small thing - I might change the rendering a bit to make the footer line be a little lighter (perhaps beveled it).  But thats just aesthetics.
Comment 6 Thomas Schindl CLA 2008-09-06 18:40:28 EDT
released to CVS header_footer >= 20080907