简体   繁体   中英

How to force pivotTable.js orientation

I'm working with pivotTable.js and this is working well until i put multiple rowData , the pivotTable change the orientation. What i have is this see

pic 1

在此处输入图片说明

and i want to force pivotTable to render this orientation: see

pic 2

在此处输入图片说明

Is there any solution to make it working correctly?

Yes, set the unusedAttrsVertical parameter to false . See for full parameter docs: https://github.com/nicolaskruchten/pivottable/wiki/Parameters

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM