@wavemaker/app-ng-runtime 11.4.2-rc.5384 → 11.4.3-next.140441

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-ng-runtime",
3
- "version": "11.4.2-rc.5384",
3
+ "version": "11.4.3-next.140441",
4
4
  "description": "All modules required for a wavemaker application.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -573,16 +573,10 @@ $.widget('wm.datatable', {
573
573
  $tbody.append(rowTemplate);
574
574
  if (self.options.rowExpansionEnabled) {
575
575
  var rowHeight = self.options.rowDef.height;
576
- var rowPosition = self.options.rowDef.position;
577
576
  var colSpanLength = _.filter(self.preparedHeaderData, function(c) {return c.show}).length - 1;
578
577
  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">' +
579
578
  '<div class="row-overlay"><div class="row-status"><i class="' + self.options.loadingicon + '"></i></div></div><div class="details-section"></div>' +
580
579
  '</td></tr>');
581
- if(rowPosition === "-1"){
582
- $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">' +
583
- '<div class="row-overlay"><div class="row-status"><i class="' + self.options.loadingicon + '"></i></div></div><div class="details-section"></div>' +
584
- '</td><td></td></tr>');
585
- }
586
580
  if (rowHeight) {
587
581
  $tr.find('div.row-overlay').css('min-height', rowHeight);
588
582
  }