You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If the original tree column is hidden and replaced with custom multiple columns to display tree nodes, an error is thrown when the expand/collapse method is executed by clicking on the custom column. The error is reported in the updateTreeColumnWidth method.
To Reproduce
Steps to reproduce the behavior:
create tree Grid
hide original tree column
custom multiple columns to display tree nodes(excute expand/collapse method when click)
See error: Cannot read properties of undefined (reading 'resizable')
Expected behavior
no error thrown when expand/collapse custom multiple columns tree nodes.
I think the if condition in method updateTreeColumnWidth should be changed to the following.
if (columnInfo && (columnInfo.resizable || columnInfo.autoResizing)) {...}
I have tested it in the dev tool and I feel that there should be no problem.
thank you ~
Screenshots
Desktop (please complete the following information):
OS: [windows 10]
Browser [chrome]
Version [latest]
The text was updated successfully, but these errors were encountered:
Describe the bug
If the original tree column is hidden and replaced with custom multiple columns to display tree nodes, an error is thrown when the expand/collapse method is executed by clicking on the custom column. The error is reported in the updateTreeColumnWidth method.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
no error thrown when expand/collapse custom multiple columns tree nodes.
I think the if condition in method updateTreeColumnWidth should be changed to the following.
if (columnInfo && (columnInfo.resizable || columnInfo.autoResizing)) {...}
I have tested it in the dev tool and I feel that there should be no problem.
thank you ~
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: