We are building a dynamic grid where the column in the grid is dynamic. Our application allows user to pick the columns (we call data points) that the user is interested, and build the grid based on user’s selection. There could be a million columns (data points) that the user can pick from. Normally user picks a few data point (less than 20) and run the report. Each datapoint can be of different type: string, numeric, or date.
How do I specify the fields in the datasource? Can I set the fields for the data source in the server fetch method? That will be the ideal place, but I don’t know what needs to be done
The following is the static data source where I don’t specify the field. I don’t get any data back using this datasource because the fields are not specified:
<DataSource ID="FSReportDS" titleField="description" serverType="generic" dataFormat="iscServer">
<fields>
</fields>
<serverObject lookupStyle="new" className="com.insx.isomorphic.ds.FSReportDS" />
We are using SmartClient_80_Pro
Thanks in advance
How do I specify the fields in the datasource? Can I set the fields for the data source in the server fetch method? That will be the ideal place, but I don’t know what needs to be done
The following is the static data source where I don’t specify the field. I don’t get any data back using this datasource because the fields are not specified:
<DataSource ID="FSReportDS" titleField="description" serverType="generic" dataFormat="iscServer">
<fields>
</fields>
<serverObject lookupStyle="new" className="com.insx.isomorphic.ds.FSReportDS" />
We are using SmartClient_80_Pro
Thanks in advance
Comment