[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.nebula] Re: Questions on Nebula Grid

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