org-scn-design-studio-community / sdkpackage

SDK Package of SCN Design Studio Community
Apache License 2.0
32 stars 29 forks source link

Problem with "org_scn_community_databound.flatten" method #95

Closed ngoclong19 closed 8 years ago

ngoclong19 commented 8 years ago

For example, we have a table representing the sale venues likes this:

Store 2011 2012 2013
Store1 1 2 3
Store2 4 5 6

With the option swapAxes set to 'true', the expected result should be likes this:

Year Store1 Store2
2011 1 4
2012 2 5
2013 3 6

So the sale venue of Store2 in 2012 will be 5. But the result returned by flatten likes this one below:

Year Store1 Store2
2011 1 2
2012 3 4
2013 5 6

And the sale venue of Store2 in 2012 is 4 instead.