@wavemaker/app-runtime-wm-build 11.4.2-rc.5383 → 11.4.2-rc.5385
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app-runtime-wm-build/package.json +1 -1
- app-runtime-wm-build/wmapp/scripts/wm-libs.js +4 -0
- app-runtime-wm-build/wmapp/scripts/wm-libs.min.js +1 -1
- app-runtime-wm-build/wmapp/scripts/wm-loader.js +9 -9
- app-runtime-wm-build/wmapp/scripts/wm-loader.min.js +3 -3
- app-runtime-wm-build/wmmobile/scripts/wm-libs.js +4 -0
- app-runtime-wm-build/wmmobile/scripts/wm-libs.min.js +1 -1
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.js +9 -9
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.min.js +3 -3
|
@@ -189987,10 +189987,14 @@ $.widget("wm.datatable", {
|
|
|
189987
189987
|
$tbody.append(rowTemplate);
|
|
189988
189988
|
if (self.options.rowExpansionEnabled) {
|
|
189989
189989
|
var rowHeight = self.options.rowDef.height;
|
|
189990
|
+
var rowPosition = self.options.rowDef.position;
|
|
189990
189991
|
var colSpanLength = _.filter(self.preparedHeaderData, (function(c) {
|
|
189991
189992
|
return c.show;
|
|
189992
189993
|
})).length - 1;
|
|
189993
189994
|
var $tr = $('<tr class="app-datagrid-detail-row" tabindex="0" role="row" data-row-id="' + row.$$pk + '"><td></td><td colspan="' + colSpanLength + '" class="app-datagrid-row-details-cell">' + '<div class="row-overlay"><div class="row-status"><i class="' + self.options.loadingicon + '"></i></div></div><div class="details-section"></div>' + "</td></tr>");
|
|
189995
|
+
if (rowPosition === "-1") {
|
|
189996
|
+
$tr = $('<tr class="app-datagrid-detail-row" tabindex="0" role="row" data-row-id="' + row.$$pk + '"><td colspan="' + colSpanLength + '" class="app-datagrid-row-details-cell">' + '<div class="row-overlay"><div class="row-status"><i class="' + self.options.loadingicon + '"></i></div></div><div class="details-section"></div>' + "</td><td></td></tr>");
|
|
189997
|
+
}
|
|
189994
189998
|
if (rowHeight) {
|
|
189995
189999
|
$tr.find("div.row-overlay").css("min-height", rowHeight);
|
|
189996
190000
|
}
|