}
public EditableDataGrid getEditableDataGrid(List beans, final GridColumn[] columnDefs, final Composite parent, final int styles) {
EditableDataGrid grid = new AbstractEditableDataGrid(parent, styles){
protected DataView createDataView(Object bean) {
return DataViewFactory.getInstance().getDataView(bean, parent, styles, new BaseLayout(){
public void layout(SortedSet<DynamicDataView.DynamicWidget> widgets) { return; }
});
}
protected GridColumn[] createColumnHeaders() {
if( (columnDefs==null || columnDefs.length==0) && dataBeans!=null && dataBeans.size()>0)