Hi experts,
If I have more than 2 or 2 measurements, I get an single "measurement tag" in column drop area. And I can drag it to row drop area. Is there a property to set, so that the measurements can be shown at row area by default?
Hello Sathya,
I'm not sure I understand your question. Can you please clarify or attach a screenshot.
Best regards,Martin PavlovInfragistics, Inc.
this is my fiddle, http://jsfiddle.net/zhangming870/60xwx9xh/ , you can see I have two measures(unit sold and unit price). And then I drag Measures to row area like this https://raw.githubusercontent.com/zhangming870/Alex/master/Capture.PNG . My question is does pivotgrid has any setting to show measures at row area?
Hello Sathya,Yes, you can achieve this behavior using the ig.OlapFlatDataSource.setMeasureListLocation API for example in the dataSourceInitialized event.Here is a code snippet:
dataSourceInitialized: function (evt, ui) { ui.dataSource.setMeasureListLocation("rows"); ui.dataSource.update();}
And here is the updated fiddle: http://jsfiddle.net/60xwx9xh/1/
Hope this helps,Martin PavlovInfragistics, Inc.
You're welcome!
this is exactly what i want. Thank you very much!