[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Tables with fixed columns

George Hetrick <george.hetrick@xxxxxx> wrote:

  I have some version of custom table, it supports fixed columns, text and
images in cells, etc. It is not mature and most probably buggy, but may be
you will find it usefull.
  http://sourceforge.net/project/showfiles.php?group_id=48823&release_id=107547

> I'd developed a table renderer in Swing that supported having the first
> 'n' columns fixed in place, and the rest of the columns scrolling
> horizontally within a fixed size area, and the whole thing scrolling
> vertically, with the column headers remaining in place.

> I'd like to create the equivalent in SWT. It looks as though that I'll
> need to do is:

>   create a vertical composite containing
>   . a horizontal composite containing
>     . the fixed table header
>     . the scrolling table header
>   . a vertical ScrolledComposite containing
>     . the fixed width portion (with HScroll enabled, but width set to fit)
>     . the scrolling portion (with HScroll enabled)

> and lots of code to make sure things align.

> Does this sound about right to the gurus? Has anyone already built this?


-- 
SY, Konstantin.