Skip to content

Commit 9748193

Browse files
DeepSee update button fix (not initialized/performance issue)
1 parent 04d208f commit 9748193

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

example/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<script type="text/javascript" src="../source/js/PivotView.js"></script>
1313
<script type="text/javascript" src="../source/js/DataController.js"></script>
1414
<script type="text/javascript" src="../source/js/MDXParser.js"></script>
15+
<script type="text/javascript" src="../source/js/ExcelExport.js"></script>
1516
<!-- endbuild -->
1617
<style>
1718
a {
@@ -47,6 +48,7 @@
4748
<input id="yourMDX" type="text" style="width: 100%"/>
4849
</label>
4950
</form>
51+
<!--button onclick="var e = new ExcelExport(); e.exportXLS();">Export to Excel</button-->
5052
<script type="text/javascript">
5153

5254
// reloads the page.

export/LightPivotTable-DeepSeePortlet.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<Class name="DeepSee.LightPivotTable">
1313
<Super>%DeepSee.Component.Portlet.abstractPortlet</Super>
14-
<TimeChanged>63574,69706.798517</TimeChanged>
14+
<TimeChanged>63574,76552.664444</TimeChanged>
1515
<TimeCreated>63515,61322.546099</TimeCreated>
1616

1717
<Parameter name="INCLUDEFILES">
@@ -237,6 +237,9 @@
237237
}
238238
239239
_.LightPivotTable = new LightPivotTable(setup);
240+
241+
// hack to enable some change events
242+
setTimeout(function () { _._INITIALIZED = true; }, 800);
240243
}
241244
}
242245
);

0 commit comments

Comments
 (0)