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

setColumnWidth does not work correctly when left column is pinned or grid is treegrid #4

Closed
StephanWald opened this issue Nov 2, 2017 · 1 comment
Assignees

Comments

@StephanWald
Copy link

setColumnWidth

image

hyyan added a commit that referenced this issue Jan 18, 2018
@hyyan hyyan added invalid and removed invalid labels Jan 18, 2018
@hyyan
Copy link
Member

hyyan commented Jan 18, 2018

@StephanWald

After digging into this issue, I found that this is the case only for tree demo.
setColumnWidth will work with tree demo with the following code

dt! = new DataTree()
.....
grid!.setColumnWidth("__node__name",800)
grid!.setData(dt!)

I have also updated setColumnWidth to be able to update a column width after the grid is rendered, so a full grid re-render is not required to update only a column width

@hyyan hyyan removed their assignment Jan 18, 2018
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