[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.nebula] Re: Questions on Nebula Grid
|
Thanks.
I think grid.getColumn(0).setHeaderRenderer(customHeaderRenderer); will be
useful for having custom column headers, I want to know how can i modify the
Row headers. Also, I just want to have a facility of changing the color of
Row headers, so can i extend some class for this and provide colors that i
need?
Thanks,
Mustufa
"Stanislav Vodetskyi" <blutkind99@xxxxxxxxx> wrote in message
news:3f17500f00271a8c32c3f270d53966a7$1@xxxxxxxxxxxxxxxxxx
> Mustufa Kasidwala wrote:
>
>> Hi,
>
>> I have some queries on Grid:
>
>> 1. Is it possible to change the color of cells in Row headers? How ?
>> 2. Is it possible to change the width of Row headers or make the row
>> header resizable?
>
> Hi,
>
> 1. It is possible to set your own custom header renderer and draw anything
> you need in the header cell:
> grid.getColumn(0).setHeaderRenderer(customHeaderRenderer);
> There may be a possibility to use a label provider for this, but I don't
> know for sure, if it exists.
> 2. Width of row headers is definitely adjustable, but I'm not sure of the
> API to do that, sorry.
>
> Regards,
> Stanislav
>