@aimerthyr/virtual-table 1.3.3 → 1.4.0
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/CHANGELOG.md +13 -0
- package/README.md +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/virtual-table.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -372,6 +372,7 @@ const handleSelectionChange = (rows: any[]) => {
|
|
|
372
372
|
| --------------- | -------------------------------------------------------- | ------------------- |
|
|
373
373
|
| `tanstackTable` | `Table<TData>` | TanStack Table 实例 |
|
|
374
374
|
| `scrollToIndex` | `(index: number, behavior?: 'auto' \| 'smooth') => void` | 滚动到指定行 |
|
|
375
|
+
| `setEditingRow` | `(rowId: string \| number \| null) => void` | 设置当前编辑行 |
|
|
375
376
|
|
|
376
377
|
使用示例:
|
|
377
378
|
|