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
Hi
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: Thu Apr 25 06:53:40 GMT 2024

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

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

Back to the top