Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsUsing Grid as List
https://www.eclipse.org/forums/index.php/mv/msg/535491/1121216/#msg_1121216
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?]]>Chinmay Gore2013-09-30T11:42:54-00:00