Usually, inside a datagrid there are rows and columns.
The rows shows ex. one product for each line. Each product has some properties like number, color, weight,...
What we wanted to do is not to show one product per line, but 1 product per column: --> see the example
Number Description Color Weight ...
1 Product 1 red 10 kg
2 Product 2 green 15 kg
3 Product 3 blue 5 kg
What we want is:
Number 1 2 3
Description Product 1 Product 2 Product 3
Color red green blue
Weight 10 kg 15 kg 5 kg
Possible to do with standard Flex SDK?
Did anyone write such a component already with Flex 3 or Flex 4?
Thanks for any help on that issue.
I believe this is called a pivot table. Flex does not have one. Search and
see if there is one available.
I've never had time to try rotating the DG and its renderers to see if I
could pull of the same thing, but it might be possible. And you can always
convert your data set if needed.
A pivot table is something else...
To change the datasource is possible, but the result is not what is correct.
- The selection of one product must be a vertical selection, and not a horizontal one.
- The column header must be at the left side, and not at the top!
But yes, sure, everything is possible to develop....
thanks anyway :-)