@tongfun/tf-widget 0.1.142 → 0.1.143

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.
@@ -142529,7 +142529,14 @@ const tableAutoHeight = {
142529
142529
  item.headerComponentParams = {
142530
142530
  fieldType: item.fieldType
142531
142531
  };
142532
- item.cellRenderer = 'TfCellText'; // 指定 fieldType为image渲染自定义的按钮组件查看图片
142532
+
142533
+ item.cellRendererSelector = params => {
142534
+ // 去除底部合计行的单元格
142535
+ return !params.node.rowPinned ? {
142536
+ component: 'TfCellText'
142537
+ } : undefined;
142538
+ }; // 指定 fieldType为image渲染自定义的按钮组件查看图片
142539
+
142533
142540
 
142534
142541
  if (item.fieldType === 'image') {
142535
142542
  item.cellRendererSelector = params => {
@@ -142539,7 +142539,14 @@ const tableAutoHeight = {
142539
142539
  item.headerComponentParams = {
142540
142540
  fieldType: item.fieldType
142541
142541
  };
142542
- item.cellRenderer = 'TfCellText'; // 指定 fieldType为image渲染自定义的按钮组件查看图片
142542
+
142543
+ item.cellRendererSelector = params => {
142544
+ // 去除底部合计行的单元格
142545
+ return !params.node.rowPinned ? {
142546
+ component: 'TfCellText'
142547
+ } : undefined;
142548
+ }; // 指定 fieldType为image渲染自定义的按钮组件查看图片
142549
+
142543
142550
 
142544
142551
  if (item.fieldType === 'image') {
142545
142552
  item.cellRendererSelector = params => {