Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Nebula Grid: How can we resize grid columns programmatically to expand to show full content
Nebula Grid: How can we resize grid columns programmatically to expand to show full content [message #1352777] Tue, 13 May 2014 16:23 Go to next message
Dhiresh Patel  is currently offline Dhiresh Patel Friend
Messages: 86
Registered: July 2009
Member
In nebula grid we can expand a column to show full content by double clicking on the edge of the cell. However I would to do the same thing programmatically i.e. once I populate the grid with data, I would like to programmatically expand this one column to show its full contents. Is there a way to do it?

Thanks,

Dhiresh
Re: Nebula Grid: How can we resize grid columns programmatically to expand to show full content [message #1353343 is a reply to message #1352777] Tue, 13 May 2014 21:57 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
GridColumn.pack()

Tom

On 13.05.14 18:24, Dhiresh Patel wrote:
> In nebula grid we can expand a column to show full content by double
> clicking on the edge of the cell. However I would to do the same thing
> programmatically i.e. once I populate the grid with data, I would like
> to programmatically expand this one column to show its full contents. Is
> there a way to do it?
>
> Thanks,
>
> Dhiresh
Re: Nebula Grid: How can we resize grid columns programmatically to expand to show full content [message #1354394 is a reply to message #1353343] Wed, 14 May 2014 08:34 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

You could also set the WRAP mode on the column so that it stretches multiple lines.

Cheers,

Wim
Previous Topic:missing feature org.eclipse.nebula.widgets.formattedtext
Next Topic:Fwd: Re: display problem of TreeMapper
Goto Forum:
  


Current Time: Sat Apr 20 02:40:52 GMT 2024

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

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

Back to the top