RemoveDuplicatesPreview Interface
Duplicate removal plan; row indices are zero based.
Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.
Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.
Members
Properties
| Property | Description |
|---|---|
| hasHeaders | The hasHeaders value of RemoveDuplicatesPreview. |
| range | The range value of RemoveDuplicatesPreview. |
| remaining | The remaining value of RemoveDuplicatesPreview. |
| removed | The removed value of RemoveDuplicatesPreview. |
| removedRows | The removedRows value of RemoveDuplicatesPreview. |
| rows | The rows value of RemoveDuplicatesPreview. |
Examples
Pass the RemoveDuplicatesPreview value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';
function inspectRemoveDuplicatesPreviewRange(
removeDuplicatesPreview: Awaited<ReturnType<ServerSheetControl['workbook']['previewRemoveDuplicates']>>,
) {
const value = removeDuplicatesPreview['range'];
console.log('RemoveDuplicatesPreview.range', value);
}