@@ -40,6 +40,7 @@ var setup = { // Object that contain settings. Any setting may be missed.
4040 , dataSource: {
4141 MDX2JSONSource: " http://localhost:57772/SAMPLES" , // MDX2JSON server address
4242 basicMDX: typeof req === " object" ? req .basicMDX : req
43+ [ , pivot: " name of data source.pivot" ] // name of data source to apply pivot rules
4344 [ , namespace: " SAMPLES" ] // current namespace : default namespace
4445 [ , username: " USER" ] // user name : default user
4546 [ , password: " " ] // user password : default password
@@ -51,14 +52,14 @@ var setup = { // Object that contain settings. Any setting may be missed.
5152 // if cellDrillThrough callback returns boolean false, DrillThrough won't be performed.
5253 , cellDrillThrough : function ({Object { event : {event }, filters: {string[]}, cellData: {object} }}) {}
5354 } ]
54- [ , hideButtons: true // hides "back" and "drillThrough" buttons ]
55- [ , triggerEvent: " touchstart" // all "click" events will be replaced by this event ]
56- [ , caption: " My table" // if set, table basic caption will be replaced by this text ]
57- [ , showSummary: true // show summary by columns ]
58- [ , conditionalFormattingOn: true // pass false to turn off conditional formatting ]
59- [ , loadingMessageHTML: " LOADING DATA..." // HTML displaying during data load ]
60- [ , enableHeadersScrolling: false // enable scrolling both for table and headers. Useful for mobile devices. ]
61- [ , drillDownTarget: " <dashboard name>" // deepSee only - dashboard to open ]
55+ [ , hideButtons: true ] // hides "back" and "drillThrough" buttons
56+ [ , triggerEvent: " touchstart" ] // all "click" events will be replaced by this event
57+ [ , caption: " My table" ] // if set, table basic caption will be replaced by this text
58+ [ , showSummary: true ] // show summary by columns
59+ [ , conditionalFormattingOn: true ] // pass false to turn off conditional formatting
60+ [ , loadingMessageHTML: " LOADING DATA..." ] // HTML displaying during data load
61+ [ , enableHeadersScrolling: false ] // enable scrolling both for table and headers. Useful for mobile devices.
62+ [ , drillDownTarget: " <dashboard name>" ] // deepSee only - dashboard to open
6263 },
6364 lp = new LightPivotTable (setup);
6465
0 commit comments