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

Bug 373638

Summary: tableviewer features request
Product: [RT] RAP Reporter: David Song <micromms>
Component: JFaceAssignee: Project Inbox <rap-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: tbuschto
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
request tableviewer with header colspan, fixed column, fixed row as footer none

Description David Song CLA 2012-03-08 07:34:09 EST
Build Identifier: 

Hi RAP team,
As we know, the rap api is consistent with swt api. But tableviewer is used continually in database app development. In view of the api of the rap api, I suggest mightily colspan, fixed row and footer to tableviewer. This is my biggest trouble in database app development.

David

Reproducible: Always
Comment 1 Ivan Furnadjiev CLA 2012-03-08 09:33:03 EST
*** Bug 373645 has been marked as a duplicate of this bug. ***
Comment 2 Tim Buschtoens CLA 2012-03-08 09:55:27 EST
At least to me its not completely clear how these features should looke like/behave. Could you go into more detail, give examples?
Comment 3 David Song CLA 2012-03-08 21:19:01 EST
Created attachment 212343 [details]
request tableviewer with header colspan, fixed column, fixed row as footer

request tableviewer with header colspan, fixed column, fixed row as footer
Comment 4 Tim Buschtoens CLA 2012-03-09 04:46:01 EST
Okay, fixed columns were already planned and will be part of M6.

The colspan could be somewhat problematic because of the way vertical gridlines are rendered. In any case its too late for 1.5.

As for the fixed row as footer, the only way i could see this working would be as an overlay (e.g. labels) for table. I think that should already be possible, cell-editors do it too. It might however be complicated due to horizontal scrolling. If you find a way to make this work in SWT, it should work in RAP too.
Comment 5 David Song CLA 2012-03-09 21:02:21 EST
thanks Tim,
1. Good news for fixed-column feature with M6.
2. Will you add colspan feature in the future version release, i.e. ver 1.6?
3. I tried many ways, like add labels, another table below the main table and a  data item into dataprovider and sign the item to the footer to display below, but not satisfied。would you please give some snipple code?

Thanks you again.
Comment 6 Tim Buschtoens CLA 2012-03-09 23:00:59 EST
> 2. Will you add colspan feature in the future version release, i.e. ver 1.6?

We might consider it when planning for the next version, but it depends on many factors, like the possible effort-to-benefit ratio for RAP.

> 3. I tried many ways, like add labels, another table below the main table and a
>  data item into dataprovider and sign the item to the footer to display below,
> but not satisfied。would you please give some snipple code?

Sorry, bugzilla is not the right place to give general support. For starters, you could ask on the RAP newsgroup for help.
Comment 7 Tim Buschtoens CLA 2012-07-04 04:24:08 EDT
Footer is now supported by the client, but there is no java api (yet). It is used by the nebula grid implementation in the incubator.
Comment 8 Ivan Furnadjiev CLA 2013-06-06 06:10:21 EDT
Most of these features are implemented in Nebula Grid RAP port - see http://www.eclipse.org/rap/incubator/. That's why I will close it as WONTFIX.