trotl-table 1.0.95 → 1.0.97

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.
package/dist/Table.esm.js CHANGED
@@ -9686,7 +9686,7 @@ function TableInner({
9686
9686
  downloadCallback = () => {},
9687
9687
  // new undelete callback
9688
9688
  undeleteCallback = () => {},
9689
- // callback for cell edits: (row, accessor, newValue)
9689
+ // callback for cell edits: (row, accessor, newValue, column)
9690
9690
  onCellChange = () => {},
9691
9691
  // callback for any cell click
9692
9692
  cellCallback = () => {},
@@ -10664,7 +10664,7 @@ function TableInner({
10664
10664
  });
10665
10665
  refreshTriggerRef.current?.();
10666
10666
  try {
10667
- onCellChangeRef.current?.(row, accessor, next);
10667
+ onCellChangeRef.current?.(row, accessor, next, col);
10668
10668
  } catch (err) {
10669
10669
  console.error("onCellChange error", err);
10670
10670
  }
@@ -10696,7 +10696,7 @@ function TableInner({
10696
10696
  });
10697
10697
  refreshTriggerRef.current?.();
10698
10698
  try {
10699
- onCellChangeRef.current?.(row, accessor, next);
10699
+ onCellChangeRef.current?.(row, accessor, next, col);
10700
10700
  } catch (err) {
10701
10701
  console.error("onCellChange error", err);
10702
10702
  }
@@ -10754,7 +10754,7 @@ function TableInner({
10754
10754
  });
10755
10755
  refreshTriggerRef.current?.();
10756
10756
  try {
10757
- onCellChangeRef.current?.(row, accessor, next);
10757
+ onCellChangeRef.current?.(row, accessor, next, col);
10758
10758
  } catch (err) {
10759
10759
  console.error("onCellChange error", err);
10760
10760
  }
@@ -10796,7 +10796,7 @@ function TableInner({
10796
10796
  });
10797
10797
  refreshTriggerRef.current?.();
10798
10798
  try {
10799
- onCellChangeRef.current?.(row, accessor, next);
10799
+ onCellChangeRef.current?.(row, accessor, next, col);
10800
10800
  } catch (err) {
10801
10801
  console.error("onCellChange error", err);
10802
10802
  }