benjaminberry,
First thanks for your share.
I have a problem with casting Record to ListGridRecord...
I work with SmartGWT 2.2, Java 1.6 and GWT 2.0.4, but also I tested with SmartGWT2.1 and It's the same...
This not compile:
ListGridRecord[] records = response.getData();
And this...,
ListGridRecord[] records = (ListGridRecord[]) response.getData();
...throws java.lang.ClassCastException: [Lcom.smartgwt.client.data.Record; cannot be cast to [Lcom.smartgwt.client.widgets.grid.ListGridRecord;
Can you help me? Thank you so much.
First thanks for your share.
I have a problem with casting Record to ListGridRecord...
I work with SmartGWT 2.2, Java 1.6 and GWT 2.0.4, but also I tested with SmartGWT2.1 and It's the same...
This not compile:
ListGridRecord[] records = response.getData();
And this...,
ListGridRecord[] records = (ListGridRecord[]) response.getData();
...throws java.lang.ClassCastException: [Lcom.smartgwt.client.data.Record; cannot be cast to [Lcom.smartgwt.client.widgets.grid.ListGridRecord;
Can you help me? Thank you so much.
Comment