Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Having a "frozen" column in a table
Having a "frozen" column in a table [message #1022096] Thu, 21 March 2013 05:15 Go to next message
Urs Beeli is currently offline Urs Beeli
Messages: 325
Registered: October 2012
Location: Bern, Switzerland
Senior Member
Yesterday I showed our users a first prototype of what their new scout based application could look like. Among other things, we'll have table with a large number of columns, making scrolling in the table inevitable.

One of the things the current solution offers in such cases is that the first column (showing an identifying value (not the technical id)) does not scroll and remains fixed to make it easier to read the remaining columns that scroll. They have requested that the new application do this as well.

Does Scout already support this (none of the properties I looked at seem to suggest so)? If not, would it be possible to extend/modify the table implementation to support this easily? Where would I need to start?

The following screenshot from the current application illustrates this:
The red part does not scroll, while the green part can be scrolled.
index.php/fa/13961/0/

[As an other description for what I want: in Excel you can split the display and then freeze this, so that row and column headers stay fixed while the rest of the worksheet can be scrolled. This is the behaviour I'm looking for (though only for the columns, as the header already does this).]
  • Attachment: FixColumn.png
    (Size: 12.61KB, Downloaded 183 times)

[Updated on: Thu, 21 March 2013 05:22]

Report message to a moderator

Re: Having a "frozen" column in a table [message #1022156 is a reply to message #1022096] Thu, 21 March 2013 07:21 Go to previous message
Andreas Hoegger is currently offline Andreas Hoegger
Messages: 173
Registered: February 2010
Senior Member
Good idea.
Due to limitations of the SWT table frozen columns are not so easy.
There is a good approach under: http://www.eclipse.org/forums/index.php/t/99484/. To adapt this idea to Eclipse Scout there is an own implementation of the SwtScoutTable needed which handles the two TableViewers.
If you go there I would be interested in the result/contribution.

Previous Topic:Draw a shape on a SVG Field
Next Topic:After executing LDAPExSecurityFilter, how to get at the Scout Client side user and passw.
Goto Forum:
  


Current Time: Fri Aug 29 22:24:59 EDT 2014

Powered by FUDForum. Page generated in 0.01650 seconds