Render a control in the header [message #40632] |
Mon, 01 October 2007 12:07  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.06559 seconds