I have the following requirement.
Create a grid that contains three defined columns (Category, Class and Measure). From here, there can be an arbitrary number of columns representing locations. Each cell will contain a value for the Category, Class and Measure.
So, as an example:
On one run of the report for this grid, I may have 5 locations. So I would need columns Category, Class, Measure, Location1, Location2, Location3, Location4, Location5.
On the next run, I may have 2 locations. So I would need columns Category, Class, Measure, Location1, Location2.
The values for each measure will be a text string so I do not need a checkbox or other "fancy" control.
The data for my grid will come from two data source, both returned from WCF Data Service Calls back to my Silverlight application. The first dataset contains the definition of the Category, Class and Measures and the second data set contains a row for each location.
I have built a class in my Silverlight application to merge the data from both service calls to bind to the RadGridView as its ItemsSource. However, this limits me to a finite, known number of locations. Is there a way to dynamically create columns 3 through 0, where col0 is Category, col1 is Class and col2 is Measure?
Thanks.
Create a grid that contains three defined columns (Category, Class and Measure). From here, there can be an arbitrary number of columns representing locations. Each cell will contain a value for the Category, Class and Measure.
So, as an example:
On one run of the report for this grid, I may have 5 locations. So I would need columns Category, Class, Measure, Location1, Location2, Location3, Location4, Location5.
On the next run, I may have 2 locations. So I would need columns Category, Class, Measure, Location1, Location2.
The values for each measure will be a text string so I do not need a checkbox or other "fancy" control.
The data for my grid will come from two data source, both returned from WCF Data Service Calls back to my Silverlight application. The first dataset contains the definition of the Category, Class and Measures and the second data set contains a row for each location.
I have built a class in my Silverlight application to merge the data from both service calls to bind to the RadGridView as its ItemsSource. However, this limits me to a finite, known number of locations. Is there a way to dynamically create columns 3 through 0, where col0 is Category, col1 is Class and col2 is Measure?
Thanks.