I am currently evaluating SmartClient for use in our hosted application, and cannot seem to find any examples in the documentation and the API is not giving me any clues.
I am trying to create a charting UI to add on top of the grid. It works very well if the grid is not grouped. However, to offer clients more flexibility, I want to allow them to perform a group and build a chart from the grouped data using a summary field.
I can group and add summary fields, but I cannot seem to find anything on how to get the summary information out of the grid. I basically need to send my chart class a new data set which is derived from the current grid, the series will be the group and the values will be one of the summary fields that are already configured. I will create this new data set at runtime, after the user selects some options from the UI.
So I need to get the following information:
- the group by field (I do this with .getGroupByFields())
- all the summary fields that are available for the group
- a way to build a data set (group1, summaryvalue),(group2,summaryvalue),etc.
Any help or pointers to the API is greatly appreciated. SmartClient offers everything else we need to do, but this is the last requirement I need to prototype.
I am trying to create a charting UI to add on top of the grid. It works very well if the grid is not grouped. However, to offer clients more flexibility, I want to allow them to perform a group and build a chart from the grouped data using a summary field.
I can group and add summary fields, but I cannot seem to find anything on how to get the summary information out of the grid. I basically need to send my chart class a new data set which is derived from the current grid, the series will be the group and the values will be one of the summary fields that are already configured. I will create this new data set at runtime, after the user selects some options from the UI.
So I need to get the following information:
- the group by field (I do this with .getGroupByFields())
- all the summary fields that are available for the group
- a way to build a data set (group1, summaryvalue),(group2,summaryvalue),etc.
Any help or pointers to the API is greatly appreciated. SmartClient offers everything else we need to do, but this is the last requirement I need to prototype.
Comment