|
11 | 11 |
|
12 | 12 | <Class name="DeepSee.LightPivotTable">
|
13 | 13 | <Super>%DeepSee.Component.Portlet.abstractPortlet</Super>
|
14 |
| -<TimeChanged>63566,64710.965337</TimeChanged> |
| 14 | +<TimeChanged>63572,75641.723765</TimeChanged> |
15 | 15 | <TimeCreated>63515,61322.546099</TimeCreated>
|
16 | 16 |
|
17 | 17 | <Parameter name="INCLUDEFILES">
|
|
30 | 30 | <Type>%Boolean</Type>
|
31 | 31 | </Property>
|
32 | 32 |
|
| 33 | +<Property name="Pagination"> |
| 34 | +<Type>%Boolean</Type> |
| 35 | +</Property> |
| 36 | + |
33 | 37 | <Method name="%OnGetPortletName">
|
34 | 38 | <ClassMethod>1</ClassMethod>
|
35 | 39 | <ReturnType>%String</ReturnType>
|
|
54 | 58 | set pInfo($I(pInfo)) = $LB("DataSource", "/" _ $NAMESPACE, "%String", $$$Text("MDX2JSON source", "%DeepSee"), "Set the URL of MDX2JSON source. Example: ""/SAMPLES""")
|
55 | 59 | set pInfo($I(pInfo)) = $LB("ShowSummary", 1, "%Boolean", $$$Text("Show summary", "%DeepSee"), "Show summary row")
|
56 | 60 | set pInfo($I(pInfo)) = $LB("ExportCSV", 1, "%Boolean", $$$Text("Export to CSV", "%DeepSee"), "Show export to CSV format button")
|
| 61 | + set pInfo($I(pInfo)) = $LB("Pagination", 0, "%Integer", $$$Text("Pagination", "%DeepSee"), "Enable pagination") |
57 | 62 |
|
58 | 63 | quit $$$OK
|
59 | 64 | ]]></Implementation>
|
|
222 | 227 | if (controller && controller["data"] && !setup.caption) setup.caption = controller["data"]["defaultCaption"] || "";
|
223 | 228 | if (info["drillDownDataSource"]) setup["drillDownTarget"] = info["drillDownDataSource"];
|
224 | 229 | setup["showSummary"] = !!parseInt(container.getAttribute("show-summary"));
|
| 230 | + if (parseInt(container.getAttribute("pagination"))) { |
| 231 | + setup["pagination"] = parseInt(container.getAttribute("pagination")) |
| 232 | + } |
225 | 233 |
|
226 | 234 | _.LightPivotTable = new LightPivotTable(setup);
|
227 | 235 | }
|
|
310 | 318 | }
|
311 | 319 |
|
312 | 320 | &html<
|
313 |
| - <div export-csv="#(..ExportCSV)#" data-source="#(..DataSource)#" show-summary="#(..ShowSummary)#" class="lpt-container" style="position: absolute; left: 0; bottom: 0; width: 100%; height: 100%;"> |
| 321 | + <div pagination="#(..Pagination)#" export-csv="#(..ExportCSV)#" data-source="#(..DataSource)#" show-summary="#(..ShowSummary)#" class="lpt-container" style="position: absolute; left: 0; bottom: 0; width: 100%; height: 100%;"> |
314 | 322 |
|
315 | 323 | </div>
|
316 | 324 | >
|
|
0 commit comments