mirror of
https://github.com/VisActor/VTable
synced 2024-11-22 01:52:03 +00:00
fix: when transpose table and set disableHeaderSelect rowSeries not selected
This commit is contained in:
parent
eb88b4334d
commit
7396c9dd58
@ -1,3 +1,4 @@
|
||||
import type { ListTable } from '../..';
|
||||
import type { SimpleHeaderLayoutMap } from '../../layout';
|
||||
import type { Scenegraph } from '../../scenegraph/scenegraph';
|
||||
import type { SelectAllOnCtrlAOption } from '../../ts-types';
|
||||
@ -73,7 +74,10 @@ export function updateSelectPosition(
|
||||
_startRow = table.columnHeaderLevelCount;
|
||||
}
|
||||
// 行号列选中
|
||||
if (disableRowSeriesNumberSelect && table.options.rowSeriesNumber) {
|
||||
if (
|
||||
(disableRowSeriesNumberSelect || (disableHeaderSelect && (table as ListTable).transpose)) &&
|
||||
table.options.rowSeriesNumber
|
||||
) {
|
||||
_startCol += 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user