Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Make row invisible
Make row invisible [message #65302] Fri, 03 July 2009 13:09 Go to next message
Eclipse User
Originally posted by: m.kasid.gmail.com

Hi,

Can we make rows in the Grid invisible/visible based on certain criteria? I
tried setting height to 1 but that does'nt make the row completely
invisible.

--
Thanks,

Mustufa
Re: Make row invisible [message #65983 is a reply to message #65302] Tue, 21 July 2009 20:11 Go to previous message
Eclipse User
Originally posted by: mario.winterer.gmx.at

We're using a GridTreeViewer (or a GridTableViewer) with a custom
ViewerFilter that filters out all elements that should not be visible.
As an alternative you could modify the content provider in such way that it
simply skips all elements that should be hidden.

"Mustufa Kasidwala" <m.kasid@gmail.com> schrieb im Newsbeitrag
news:h2kvto$l48$1@build.eclipse.org...
> Hi,
>
> Can we make rows in the Grid invisible/visible based on certain criteria?
> I tried setting height to 1 but that does'nt make the row completely
> invisible.
>
> --
> Thanks,
>
> Mustufa
>
Re: Make row invisible [message #595789 is a reply to message #65302] Tue, 21 July 2009 20:11 Go to previous message
Mario Winterer is currently offline Mario Winterer
Messages: 136
Registered: July 2009
Senior Member
We're using a GridTreeViewer (or a GridTableViewer) with a custom
ViewerFilter that filters out all elements that should not be visible.
As an alternative you could modify the content provider in such way that it
simply skips all elements that should be hidden.

"Mustufa Kasidwala" <m.kasid@gmail.com> schrieb im Newsbeitrag
news:h2kvto$l48$1@build.eclipse.org...
> Hi,
>
> Can we make rows in the Grid invisible/visible based on certain criteria?
> I tried setting height to 1 but that does'nt make the row completely
> invisible.
>
> --
> Thanks,
>
> Mustufa
>
Previous Topic:Detect Mouse click on Row header
Next Topic:Custom Font for Row Headers
Goto Forum:
  


Current Time: Tue Sep 16 05:08:01 GMT 2014

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

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