GridColumn visibility problem [message #60395] |
Thu, 13 November 2008 11:52  |
Eclipse User |
|
|
|
I've read that the column (in)visibility is still under construction, but
I have to hide some columns and when I do it I get some issues. I couldn't
think out how to do this on other way. I need to be able to set some
columns invisible (and visible again), but the Grid doesn't behave
adequately. First of all, when I move through the grid with the arrows and
the selection exits the visible area, the grid doesn't scroll. And second
of all (and the badest) when the first column (index 0) is hidden and the
focused cell is in the first visible column, when the left arrow key is
pressed, I get NullPointerException from the method Grid.showColumn(). Can
you tell me some other way to hide columns and avoid these issues.
Here's an example snippet of these ussiues:
http://acho.ignatov.googlepages.com/GridBugSnippet.jar
And here's the code of the example snippet:
http://acho.ignatov.googlepages.com/GridBugSnippet_src.zip
Thank you in advance and sorry for my not-very-good English.
|
|
|
|
|
Re: GridColumn visibility problem [message #592686 is a reply to message #60395] |
Thu, 13 November 2008 12:04  |
Eclipse User |
|
|
|
I think I fixed such an issue in my header_footer code base you find in
CVS. Could you please file a bug and I'll try to fix it.
Tom
Acho schrieb:
> I've read that the column (in)visibility is still under construction,
> but I have to hide some columns and when I do it I get some issues. I
> couldn't think out how to do this on other way. I need to be able to set
> some columns invisible (and visible again), but the Grid doesn't behave
> adequately. First of all, when I move through the grid with the arrows
> and the selection exits the visible area, the grid doesn't scroll. And
> second of all (and the badest) when the first column (index 0) is hidden
> and the focused cell is in the first visible column, when the left arrow
> key is pressed, I get NullPointerException from the method
> Grid.showColumn(). Can you tell me some other way to hide columns and
> avoid these issues.
>
> Here's an example snippet of these ussiues:
> http://acho.ignatov.googlepages.com/GridBugSnippet.jar
>
> And here's the code of the example snippet:
> http://acho.ignatov.googlepages.com/GridBugSnippet_src.zip
>
> Thank you in advance and sorry for my not-very-good English.
>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
|
Powered by
FUDForum. Page generated in 0.03221 seconds