Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Using Grid as List(Zero columns not suppoprted in Grid control? )
Using Grid as List [message #1121216] Mon, 30 September 2013 11:42
Chinmay Gore is currently offline Chinmay GoreFriend
Messages: 4
Registered: February 2013
Location: pune
Junior Member
I need to support zero columns in Grid. When columns are zero it should show GridItems as a list.( Currently this feature is being supported in Tree control also)

Following is the snippet of my code

Grid grid = new Grid(parentComposite,SWT.BORDER);
// GridColumn column = new GridColumn(grid, 0);
// column.setWidth(200);
GridItem item = new GridItem(grid, 0);
item.setText("Zero column item");

So unless I declare column explicitly, the control does not show GridItem. Any help?
Previous Topic:Using CalendarCombo as a table cell editor
Next Topic:Hiding column header in Grid
Goto Forum:

Current Time: Wed Feb 21 14:55:35 GMT 2024

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

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

Back to the top