google-code-export / rocket-gwt

Automatically exported from code.google.com/p/rocket-gwt
1 stars 1 forks source link

Create a new table widget which includes support for fixed columns/rows whilst allow the user to scroll the remaining viewport. #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great if we could get a Table which would support fixed 
columns and rows like the ActiveWidgets table.
(Actually this implementation is great in other ways too)
http://www.activewidgets.com/javascript.forum.4441.1/fixing-some-
columns.html

Original issue reported on code.google.com by robine...@gmail.com on 5 Dec 2006 at 1:18

GoogleCodeExporter commented 9 years ago
I had a quick look at the link but there is no sample of what you mean there.
Can you provide a link that shows a FixedColumn/Row table or describe in detail 
what
exactly should happen.

Original comment by miroslav...@gmail.com on 5 Dec 2006 at 8:51

GoogleCodeExporter commented 9 years ago
Hmm, the link doesn't show up the same as earlier.
Basically the ability to define 1 or more columns, or one or more rows and have 
them 
be fixed (basically like a col header) when you scroll. This helps when you 
don't 
want to have to break off part of your data and put it in the row header, (ie 
when 
you still want to allow sorting and filtering, etc).
Imagine a table with 20 columns, two of which need to be shown at all times, 
even 
when you have scrolled to display the other columns. 

Original comment by robine...@gmail.com on 5 Dec 2006 at 7:31

GoogleCodeExporter commented 9 years ago
I think SortableTable does something similar. You define column values for the
header, and the sorting and so on works on the columns below. SortableTable 
works by
mapping your data object fields to column rows. By simply updating the list of 
rows
and refreshing the ST the view is updated with transparent support for sorting.

Does this fit your use case ?

Original comment by miroslav...@gmail.com on 5 Dec 2006 at 8:27

GoogleCodeExporter commented 9 years ago
In this screen shot http://quicktable.org/screenshots.htm
the left two columns don't scroll horizontally. Yet they are sortable, etc, 
just 
like all the other columns
http://www.java2s.com/Code/Java/Swing-Components/FixedTableColumnExample.htm
And here is another example, They call it freezed columns
http://www.scbr.com/docs/products/dhtmlxGrid/

Original comment by robine...@gmail.com on 5 Dec 2006 at 11:29

GoogleCodeExporter commented 9 years ago
Thanks for the suggestion. Im not exactly sure how to model it in terms of the 
api.
From a technical view point i suppose it would be implemented as two tables eg:
The first table would hold the stationary / fixed columns.
The second table would be horiz scrollable.
The widget need to keep both in sync - row-wise.

I might have to ask you a few q in the near future. If you have an ideas on how 
it
should be implemented or what should appear inthe api feel free to 
comment/email/post
etc ;)

Original comment by miroslav...@gmail.com on 8 Dec 2006 at 9:54

GoogleCodeExporter commented 9 years ago
Found another good inspiration from the gwt issue tracker
(http://code.google.com/p/google-web-toolkit/issues/detail?id=506)

http://www.treegrid.com/TreeGrid4_3/Html/EJSTreeGrid.html

Original comment by miroslav...@gmail.com on 11 Dec 2006 at 10:10

GoogleCodeExporter commented 9 years ago

Original comment by miroslav...@gmail.com on 11 Dec 2006 at 10:11

GoogleCodeExporter commented 9 years ago

Original comment by miroslav...@gmail.com on 11 Dec 2006 at 10:11