Skip to content

index overflow in m_arRowOrder(and m_arColOrder) #7

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

Open
TimmvonderMehden opened this issue Oct 19, 2021 · 1 comment
Open

index overflow in m_arRowOrder(and m_arColOrder) #7

TimmvonderMehden opened this issue Oct 19, 2021 · 1 comment

Comments

@TimmvonderMehden
Copy link

TimmvonderMehden commented Oct 19, 2021

in line 3886:
m_nCols++;

leads to m_arColOrder being to small. a hotfix : add
m_arColOrder.push_back(m_nCols);//add sort order for new col

just before. But this might spoil sort order in some cases (not sure). The same problem occurs for m_nRows++ in 3963 i guess

@ajtruckle
Copy link

I have been using the previous version of the control because it was modified with cell merging. For column order I ending up writing my own function .

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