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 13:18 Go to next message
Lorand Lorincz is currently offline Lorand LorinczFriend
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 14:03 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5487
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 14:10 Go to previous messageGo to next message
Lorand Lorincz is currently offline Lorand LorinczFriend
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 14:13 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5487
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 14:37 Go to previous message
Lorand Lorincz is currently offline Lorand LorinczFriend
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: Mon Dec 22 15:42:37 GMT 2014

Powered by FUDForum. Page generated in 0.10151 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software