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

paging columns table bug #49

Closed
wuguanghai45 opened this issue Jun 17, 2016 · 1 comment
Closed

paging columns table bug #49

wuguanghai45 opened this issue Jun 17, 2016 · 1 comment

Comments

@wuguanghai45
Copy link
Contributor

wuguanghai45 commented Jun 17, 2016

我用了一下 paging columns
方法 getMaxColumnsPage 有些问题
发现当 columnsPageSize=2 columnsPageRange= [2, 4]

Math.floor((columnsPageRange[1] - columnsPageRange[0] - 1) / columnsPageSize); // 结果为0

第三列无法显示

我试着更正了一下

Math.floor((columnsPageRange[1] - columnsPageRange[0] + 1) / columnsPageSize)
@afc163
Copy link
Member

afc163 commented Jun 17, 2016

来个 PR 吧

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

2 participants