smartgwtpower-3.1p_20.12.2012
We have a stored procedure sp_FillPropertObj1 which returns a table.
Our fillPropertObj.ds.xml:
A snippet of java code:
Did I miss something?
We have a stored procedure sp_FillPropertObj1 which returns a table.
Our fillPropertObj.ds.xml:
Code:
<DataSource ID="fillPropertObj" dataFormat="iscServer" serverType="sql" dataSourceVersion="1" dbName="SQLServer" schema="dbo">
<operationBindings>
<operationBinding operationType="fetch">
<customSQL>
call sp_FillPropertObj1(205024)
</customSQL>
</operationBinding>
</operationBindings>
</DataSource>
Code:
final ListGrid listGridInner = new ListGrid();
listGridInner.setWidth("50%");
listGridInner.setHeight(230);
listGridInner.setAlternateRecordStyles(true);
listGridInner.setDataSource(DataSource.get("fillPropertObj"));
listGridInner.setAutoFetchData(true);
Comment