tnx-shared 5.3.272 → 5.3.273

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.
@@ -1653,6 +1653,7 @@
1653
1653
  _this.rowButtonTemplate = null;
1654
1654
  _this.rowButtonBeforeTemplate = null;
1655
1655
  _this.hiddenPageSetting = false;
1656
+ _this.showEditLink = true;
1656
1657
  for (var key in init) {
1657
1658
  _this[key] = init[key];
1658
1659
  }
@@ -47049,7 +47050,7 @@
47049
47050
  this.setting.hiddenSettingPermission = true;
47050
47051
  this.setting.hiddenAdvanceSearch = this.control.hiddenAdvanceSearch;
47051
47052
  this.setting.fieldSearchText = this.control.fieldSearchText;
47052
- this.setting.showEditLink = !this.readOnly;
47053
+ this.setting.showEditLink = !this.readOnly && this.control.showEditLink;
47053
47054
  this.setting.hiddenPageSetting = this.control.hiddenPageSetting;
47054
47055
  this.plusUrl = this.control.plusUrl;
47055
47056
  // Todo: HieuND
@@ -47080,7 +47081,8 @@
47080
47081
  dataSource: column.dataSource,
47081
47082
  groupCode: column.groupCode,
47082
47083
  order: column.order,
47083
- sort: column.sort
47084
+ sort: column.sort,
47085
+ showEditLink: column.showEditLink
47084
47086
  });
47085
47087
  if (column.dataType == 'custom') {
47086
47088
  newCol.dataType = column.code;