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

划线的逻辑有问题,最后一行和最后一列的线画不出来 #67

Closed
1369220324 opened this issue Mar 15, 2019 · 3 comments
Closed

Comments

@1369220324
Copy link

划线的逻辑有问题,最后一行和最后一列的线画不出来

@1369220324
Copy link
Author

线画不出来,但是可以选中,但是不能输入

@1369220324
Copy link
Author

table.js里面的第232行的代码改为
function renderAll(viewRange, scrollOffset) {
// const { row, col, scrollOffset } = this;
// console.log('viewRange:', viewRange);
let data = this.data;
if(viewRange.eri === data.settings.range[0] - 1) {
viewRange.eri += 1;
}
if(viewRange.eci === data.settings.range[1] - 1) {
viewRange.eci += 1;
}
renderContentGrid.call(this, viewRange);
renderContent.call(this, viewRange, scrollOffset);
renderFixedHeaders.call(this, viewRange);
}
可以解决bug

@1369220324
Copy link
Author

这块的修改会涉及到添加行列和删除行列

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