@wavemaker/app-runtime-wm-build 11.4.2-rc.5383 → 11.4.2-rc.5384
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 +1 -3
- app-runtime-wm-build/wmapp/scripts/wm-loader.min.js +1 -1
- 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 +1 -3
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.min.js +1 -1
|
@@ -166216,10 +166216,14 @@ $.widget("wm.datatable", {
|
|
|
166216
166216
|
$tbody.append(rowTemplate);
|
|
166217
166217
|
if (self.options.rowExpansionEnabled) {
|
|
166218
166218
|
var rowHeight = self.options.rowDef.height;
|
|
166219
|
+
var rowPosition = self.options.rowDef.position;
|
|
166219
166220
|
var colSpanLength = _.filter(self.preparedHeaderData, (function(c) {
|
|
166220
166221
|
return c.show;
|
|
166221
166222
|
})).length - 1;
|
|
166222
166223
|
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>");
|
|
166224
|
+
if (rowPosition === "-1") {
|
|
166225
|
+
$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>");
|
|
166226
|
+
}
|
|
166223
166227
|
if (rowHeight) {
|
|
166224
166228
|
$tr.find("div.row-overlay").css("min-height", rowHeight);
|
|
166225
166229
|
}
|