Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Win7 style grid header.
Win7 style grid header. [message #734321] Fri, 07 October 2011 09:18 Go to next message
Lorand Lorincz is currently offline Lorand Lorincz
Messages: 35
Registered: April 2011
Member
I need to modify the grid headers to look like the table headers from tableviewer, is that possible?
I'm running win7 and the headers look like those from win classic.

Thanks in Advance.
Lori
Re: Win7 style grid header. [message #734348 is a reply to message #734321] Fri, 07 October 2011 10:03 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5014
Registered: July 2009
Senior Member
You need to implement your custom GridHeaderRenderer

Tom

Am 07.10.11 15:18, schrieb Loris:
> I need to modify the grid headers to look like the table headers from
> tableviewer, is that possible?
> I'm running win7 and the headers look like those from win classic.
>
> Thanks in Advance.
> Lori
Re: Win7 style grid header. [message #734350 is a reply to message #734348] Fri, 07 October 2011 10:10 Go to previous messageGo to next message
Lorand Lorincz is currently offline Lorand Lorincz
Messages: 35
Registered: April 2011
Member
And how can I do that?Do I have to implement them at a native library level?
Re: Win7 style grid header. [message #734359 is a reply to message #734350] Fri, 07 October 2011 10:13 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5014
Registered: July 2009
Senior Member
Not native but you need to draw things your own using the GC. See
DefaultColumnHeaderRenderer for an example of how this is done.

Tom

Am 07.10.11 16:10, schrieb Loris:
> And how can I do that?Do I have to implement them at a native library
> level?
Re: Win7 style grid header. [message #734362 is a reply to message #734359] Fri, 07 October 2011 10:37 Go to previous message
Lorand Lorincz is currently offline Lorand Lorincz
Messages: 35
Registered: April 2011
Member
Does the TableViewer have such a renderer?Maybe I can build on that?
Previous Topic:Nebula Grid Tree ToggleRenderer
Next Topic:Module name required
Goto Forum:
  


Current Time: Sun Apr 20 23:06:58 EDT 2014

Powered by FUDForum. Page generated in 0.02476 seconds