I am using Cell Table in GWT.In that cell table I am adding these columns. TextColumn<Document> idColumn = new TextColumn<Document>() { @Override public String getValue(Document object) { return Long.toString(object.getId()); } }; TextColumn<Document> refColumn = new TextColumn<Document>() { @Override public String getValue(Document object) { return object.getReferenceNumber(); } }; /* * DateCell dateCell = new DateCell(); Column<Contact, Date> dateColumn * = new Column<Contact, Date>(dateCell) { * * @Override public Date getValue(Contact object) { return * object.birthday; } }; */ TextColumn<Document> nameColumn = new TextColumn<Document>() { @Override public String getValue(Document object) { return object.getDocumentName(); } }; table = new CellTable<T>(); table.addColumn(idColumn, "Id"); table.addColumn(refColumn, "Reference Number"); table.addColumn(nameColumn, "Name"); }
Now I have some queries: How to hide the id column? On click of row how can i get the from selected row? Please help me out. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.