|
11 | 11 |
|
12 | 12 | <Class name="DeepSee.LightPivotTable">
|
13 | 13 | <Super>%DeepSee.Component.Portlet.abstractPortlet</Super>
|
14 |
| -<TimeChanged>63578,68626.779569</TimeChanged> |
| 14 | +<TimeChanged>63579,79833.277338</TimeChanged> |
15 | 15 | <TimeCreated>63515,61322.546099</TimeCreated>
|
16 | 16 |
|
17 | 17 | <Parameter name="INCLUDEFILES">
|
|
50 | 50 | <Type>%Boolean</Type>
|
51 | 51 | </Property>
|
52 | 52 |
|
| 53 | +<Property name="EnableSearch"> |
| 54 | +<Type>%Boolean</Type> |
| 55 | +</Property> |
| 56 | + |
53 | 57 | <Method name="%OnGetPortletName">
|
54 | 58 | <ClassMethod>1</ClassMethod>
|
55 | 59 | <ReturnType>%String</ReturnType>
|
|
79 | 83 | set pInfo($I(pInfo)) = $LB("ListingColumnMinWidth", 0, "%Integer", $$$Text("Min cell width for listing", "%DeepSee"), "Minimal column width in listing")
|
80 | 84 | set pInfo($I(pInfo)) = $LB("MaxHeaderWidth", 0, "%Integer", $$$Text("Max column width", "%DeepSee"), "Maximal column width for headers")
|
81 | 85 | set pInfo($I(pInfo)) = $LB("ColumnResizing", 1, "%Boolean", $$$Text("Column resizing", "%DeepSee"), "Allow resizing columns with cursor")
|
| 86 | + set pInfo($I(pInfo)) = $LB("EnableSearch", 1, "%Boolean", $$$Text("Enable listing search", "%DeepSee"), "Show search tools in listing mode") |
82 | 87 |
|
83 | 88 | quit $$$OK
|
84 | 89 | ]]></Implementation>
|
|
254 | 259 | setup["showSummary"] = !!parseInt(container.getAttribute("show-summary"));
|
255 | 260 | setup["attachTotals"] = !!parseInt(container.getAttribute("fixTotals"));
|
256 | 261 | setup["columnResizing"] = !!parseInt(container.getAttribute("columnResizing"));
|
| 262 | + setup["enableSearch"] = !!parseInt(container.getAttribute("enableSearch")); |
257 | 263 | if (parseInt(container.getAttribute("pagination"))) {
|
258 | 264 | setup["pagination"] = parseInt(container.getAttribute("pagination"))
|
259 | 265 | }
|
|
388 | 394 | }
|
389 | 395 |
|
390 | 396 | &html<
|
391 |
| - <div columnResizing="#(..ColumnResizing)#" session="#(%session.CSPSessionCookie)#" maxHeaderWidth="#(..MaxHeaderWidth)#" listingColumnMinWidth="#(..ListingColumnMinWidth)#" fixTotals="#(..FixTotals)#" 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%;"> |
| 397 | + <div enableSearch="#(..EnableSearch)#" columnResizing="#(..ColumnResizing)#" session="#(%session.CSPSessionCookie)#" maxHeaderWidth="#(..MaxHeaderWidth)#" listingColumnMinWidth="#(..ListingColumnMinWidth)#" fixTotals="#(..FixTotals)#" 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%;"> |
392 | 398 |
|
393 | 399 | </div>
|
394 | 400 | >
|
|
0 commit comments