<syncfusionTree:SfTreeGrid x:Name="TreeGrid"
ParentPropertyName="Key"
LiveNodeUpdateMode="AllowDataShaping"
ColumnSizer="Star"
AllowAutoSizingExpanderColumn="False"
AllowSorting="False"
AllowResizingColumns="True" />
|
Query 1:
“The weight of a column is working right, it just doesn't fill the tree grid until the end“
|
We have checked your provided sample. In that, you didn’t calculate the width for ExpanderColumn in SfTreeGrid. If you want to avoid the space in right side of tree grid, you must calculate the width for expander column in tree grid. After adding the expander column width, the remaining column width will be equally divided. In the below attached sample, we have calculated the width based on the ratio of column and expander column. The expander column width are highlighted in the below code, could you please refer to it.
Code Snippet:
| |
Query 2:
“If we manually resize any column everything fits right until the end, even if we expand or collapse the rows”
|
When you load the tree grid with Star ColumnSizer, it will divides the width equally for all the columns. If you manually resize any column, the resize width will be set to that column and then remaining width will be equally divided to remaining column.
| |
Query 3:
The column manual resize becomes unprecise and jumpy. When you set the AllowAutoSizingExpanderColumn as False
|
We are unable to reproduce the reported “AllowAutoSizingExpanderColumn as false, the column will unprecise and jumpy” in our end. The AllowAutoSizingExpanderColumn property is used for disabling the width of expander column when you expand and collapse the node. For your reference, we have attached the sample and documentation link in below location.
If you are still facing the issue, could you please revert by modifying the attached sample based on your application along with the replication procedure? This would be helpful for us to provide an appropriate solution.
|