Be sure your post includes:
1. the SmartGWT or SmartClient version and browser version(s) involved;
smartGWT 2.5p
2. for a server-side problem, the complete logs generated during processing of the request;
{
"dataSource":"latest",
"operationType":"fetch",
"componentId":"isc_ListGrid_0",
"data":{
},
"startRow":0,
"endRow":75,
"textMatchStyle":"substring",
"resultSet":[ResultSet ID:isc_ResultSet_0 (created by: isc_ListGrid_0)],
"callback":{
"caller":[ResultSet ID:isc_ResultSet_0 (created by: isc_ListGrid_0)],
"methodName":"fetchRemoteDataReply"
},
"willHandleError":true,
"showPrompt":true,
"prompt":"Finding Records that match your criteria...",
"oldValues":{
},
"clientContext":{
"requestIndex":1
},
"requestId":"latest$6272"
}
[
{
queueStatus:-1,
isDSResponse:true,
invalidateCache:false,
status:-1,
data:"invalid arguments in call"
}
]
3. for a client-side problem, the contents of the Developer Console (see FAQ for usage);
I have a simple grid that use to work. The grid had some filtering and is using a view. Nothing too special. I went ahead and got the latest build on the 3rd and the grid no longer work. However when I took the same code and move to a different project that seem to work? I even tried to simplify the screen down to 1 colunm and I am still getting the same "invalid argument in call" error. Can you tell me how I can debug this?
Thanks,
Here is the dum down version which still gets the same error?
<DataSource ID="latest" serverType="sql"
tableName="ESD_INSTALL_SUITE_LATEST_VW" qualifyColumnNames="false">
<fields>
<field name="ID" type="sequence" hidden="true" primaryKey="true"/>
<field name="NAME" type="text" length="200" title="Product"/>
<field name="VERSION" type="text" length="30" title="Version"/>
<field name="TYPE" type="text" length="20" title="Type"/>
<field name="DESCRIPTION" type="text" length="200" title="Description"/>
<field name="PUBLISHED_DATE" type="date"/>
</fields>
<schema>ESD</schema>
</DataSource>
final ListGrid installGrid = new ListGrid();
DataSource dsInstall =DataSource.get("latest");
{
// -- latest
{
installGrid.setDataSource(dsInstall);
ListGridField txtName = new ListGridField("NAME");
installGrid.setFields( txtName);
installGrid.setAutoFetchData(true);
}
}
1. the SmartGWT or SmartClient version and browser version(s) involved;
smartGWT 2.5p
2. for a server-side problem, the complete logs generated during processing of the request;
{
"dataSource":"latest",
"operationType":"fetch",
"componentId":"isc_ListGrid_0",
"data":{
},
"startRow":0,
"endRow":75,
"textMatchStyle":"substring",
"resultSet":[ResultSet ID:isc_ResultSet_0 (created by: isc_ListGrid_0)],
"callback":{
"caller":[ResultSet ID:isc_ResultSet_0 (created by: isc_ListGrid_0)],
"methodName":"fetchRemoteDataReply"
},
"willHandleError":true,
"showPrompt":true,
"prompt":"Finding Records that match your criteria...",
"oldValues":{
},
"clientContext":{
"requestIndex":1
},
"requestId":"latest$6272"
}
[
{
queueStatus:-1,
isDSResponse:true,
invalidateCache:false,
status:-1,
data:"invalid arguments in call"
}
]
3. for a client-side problem, the contents of the Developer Console (see FAQ for usage);
I have a simple grid that use to work. The grid had some filtering and is using a view. Nothing too special. I went ahead and got the latest build on the 3rd and the grid no longer work. However when I took the same code and move to a different project that seem to work? I even tried to simplify the screen down to 1 colunm and I am still getting the same "invalid argument in call" error. Can you tell me how I can debug this?
Thanks,
Here is the dum down version which still gets the same error?
<DataSource ID="latest" serverType="sql"
tableName="ESD_INSTALL_SUITE_LATEST_VW" qualifyColumnNames="false">
<fields>
<field name="ID" type="sequence" hidden="true" primaryKey="true"/>
<field name="NAME" type="text" length="200" title="Product"/>
<field name="VERSION" type="text" length="30" title="Version"/>
<field name="TYPE" type="text" length="20" title="Type"/>
<field name="DESCRIPTION" type="text" length="200" title="Description"/>
<field name="PUBLISHED_DATE" type="date"/>
</fields>
<schema>ESD</schema>
</DataSource>
final ListGrid installGrid = new ListGrid();
DataSource dsInstall =DataSource.get("latest");
{
// -- latest
{
installGrid.setDataSource(dsInstall);
ListGridField txtName = new ListGridField("NAME");
installGrid.setFields( txtName);
installGrid.setAutoFetchData(true);
}
}
Comment