| Using Grid as List [message #1121216] |
Mon, 30 September 2013 07:42 |
Chinmay Gore 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?
|
|
|
Powered by
FUDForum. Page generated in 0.01458 seconds