@wavemaker/app-ng-runtime 11.3.2-next.27801 → 11.4.0-next.1417011

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.3.2-next.27801",
3
+ "version": "11.4.0-next.1417011",
4
4
  "description": "All modules required for a wavemaker application.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -3126,7 +3126,7 @@ $.widget('wm.datatable', {
3126
3126
  '<div class="app-grid-header">' +
3127
3127
  '<div class="app-grid-header-inner">' +
3128
3128
  '<table tabindex="0" class="' + this.options.cssClassNames.gridDefault + ' ' + this.options.cssClassNames.grid + '">' +
3129
- '<thead tabindex="0" class="table-header thead-sticky" id="table_header_' + this.tableId + '">' +
3129
+ '<thead tabindex="0" class="table-header" id="table_header_' + this.tableId + '">' +
3130
3130
  '</thead><tbody class="app-grid-content app-datagrid-body" id="table_' + this.tableId + '">' +
3131
3131
  '</tbody></table>' +
3132
3132
  '</div></div></div>',
@@ -3283,6 +3283,12 @@ $.widget('wm.datatable', {
3283
3283
  }
3284
3284
  this.options[key] = value;
3285
3285
  if (key === 'height') {
3286
+ if(this.options.showHeader) {
3287
+ // this._setStyles(this.gridHeaderElement, 'z-index: 1; position: sticky; top:0px;');
3288
+ $thead = this.gridHeaderElement;
3289
+ $thead.addClass("thead-sticky");
3290
+ }
3291
+
3286
3292
  // if(this.dataStatus.state != 'loading') {
3287
3293
  var elements = this.gridHeaderElement.find('th');
3288
3294
  // this._setStyles(this.tableContainer, 'border-collapse: separate;');