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?

To participate in the discussion, go here: 
http://www.eclipse.org/forums/index.php?t=rview&frm_id=64
_______________________________________________
nebula-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/nebula-dev

Reply via email to