Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tree-structure table 展开后,scrollToIndex定位不准。 #155

Open
ilostidea opened this issue Nov 19, 2023 · 0 comments
Open

tree-structure table 展开后,scrollToIndex定位不准。 #155

ilostidea opened this issue Nov 19, 2023 · 0 comments

Comments

@ilostidea
Copy link

例如:当数据中有 children 字段时会自动展示为树形表格,但展开父节点后,scrollToIndex定位不准。
const data: RecordType[] = new Array(1000).fill(null).map((_, index) => ({
id: index,
firstName: First_${index.toString(16)},
lastName: Last_${index.toString(16)},
children: [{
id: index + ".1",
firstName: First_${index.toString(16)}. 1,
lastName: Last_${index.toString(16)}. 1,
},{
id: index + ".2",
firstName: First_${index.toString(16)}. 2,
lastName: Last_${index.toString(16)}. 2,
}]
}));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant