Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » GridColumn visibility problem
GridColumn visibility problem [message #60395] Thu, 13 November 2008 16:52 Go to next message
Acho is currently offline AchoFriend
Messages: 2
Registered: July 2009
Junior Member
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 #60421 is a reply to message #60395] Thu, 13 November 2008 17:04 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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
------------------------------------------------------------ --------
Re: GridColumn visibility problem [message #61229 is a reply to message #60395] Fri, 12 December 2008 01:28 Go to previous message
Dhiresh Patel  is currently offline Dhiresh Patel Friend
Messages: 86
Registered: July 2009
Member
the way I hide columns is using
setWidth(0);
settResizeable(false);
Re: GridColumn visibility problem [message #592686 is a reply to message #60395] Thu, 13 November 2008 17:04 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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
------------------------------------------------------------ --------
Re: GridColumn visibility problem [message #592965 is a reply to message #60395] Fri, 12 December 2008 01:28 Go to previous message
Dhiresh Patel  is currently offline Dhiresh Patel Friend
Messages: 86
Registered: July 2009
Member
the way I hide columns is using
setWidth(0);
settResizeable(false);
Previous Topic:Grid - Grid Colunm
Next Topic:Gallery image loading question
Goto Forum:
  


Current Time: Thu Apr 25 08:01:58 GMT 2024

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

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

Back to the top