CleverGWT
From PlcWiki
(Difference between revisions)
m (→ClvListGrid) |
m (→ClvListGrid) |
||
Line 5: | Line 5: | ||
@Override | @Override | ||
- | public void executeUpdate(ClvListGridResponse response) {} | + | public void executeUpdate(ClvListGridResponse response) { |
+ | // Map<String, Object> reqMap = response.getRequestMap(); | ||
+ | // response.response(... | ||
+ | } | ||
@Override | @Override | ||
Line 18: | Line 21: | ||
@Override | @Override | ||
public DataSourceField[] createFields() { | public DataSourceField[] createFields() { | ||
- | return | + | return new DataSourceField[] { new DataSourceTextField("Field Name") }; |
} | } | ||
}); | }); |
Revision as of 17:28, 14 February 2012
Contents |
ClvListGrid
ClvListGrid grid = new ClvListGrid(new ClvListGrid.Delegate() { @Override public void executeUpdate(ClvListGridResponse response) { // Map<String, Object> reqMap = response.getRequestMap(); // response.response(... } @Override public void executeRemove(ClvListGridResponse response) {} @Override public void executeFetch(ClvListGridResponse response) {} @Override public void executeAdd(ClvListGridResponse response) {} @Override public DataSourceField[] createFields() { return new DataSourceField[] { new DataSourceTextField("Field Name") }; } });