@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/app-runtime-wm-build",
3
- "version": "11.4.2-rc.5383",
3
+ "version": "11.4.2-rc.5384",
4
4
  "description": "All modules required for a wavemaker application.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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
  }