Skip to main content



      Home
Home » Eclipse Projects » Nebula » Render a control in the header
Render a control in the header [message #40632] Mon, 01 October 2007 12:07 Go to next message
Eclipse UserFriend
Is there a way to render a control in the column's header cell? I need
to use the Grid table, but I want to put a text box in the header cell
to do column filtering. If anyone has a creative way to do this, please
let me know.

Thanks
Adam
Re: Render a control in the header [message #40694 is a reply to message #40632] Mon, 01 October 2007 16:30 Go to previous message
Eclipse UserFriend
Hi Adam,

I think you might be able to do this by creating a class similar to
GridEditor except it hovers over a column header instead of a cell.
GridColumn has a getBounds method so thats all you would need. Of
course, you are gonna obscure the column header text so I'm not sure its
the greatest idea.

Regards,
-Chris

Adam Hamel wrote:
> Is there a way to render a control in the column's header cell? I need
> to use the Grid table, but I want to put a text box in the header cell
> to do column filtering. If anyone has a creative way to do this, please
> let me know.
>
> Thanks
> Adam
Re: Render a control in the header [message #585103 is a reply to message #40632] Mon, 01 October 2007 16:30 Go to previous message
Eclipse UserFriend
Hi Adam,

I think you might be able to do this by creating a class similar to
GridEditor except it hovers over a column header instead of a cell.
GridColumn has a getBounds method so thats all you would need. Of
course, you are gonna obscure the column header text so I'm not sure its
the greatest idea.

Regards,
-Chris

Adam Hamel wrote:
> Is there a way to render a control in the column's header cell? I need
> to use the Grid table, but I want to put a text box in the header cell
> to do column filtering. If anyone has a creative way to do this, please
> let me know.
>
> Thanks
> Adam
Previous Topic:PGroup
Next Topic:Nebula GridTableViewer
Goto Forum:
  


Current Time: Sun Jul 20 14:55:58 EDT 2025

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

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

Back to the top