I am using the telerik Gridview control to display hierarchial data. Wrote the program as per details provided at
http://docs.telerik.com/devtools/wpf/controls/radgridview/hierarchical-gridview/how-to/access-child-gridview
(used ChildTableDefinitions & HierarchyChildTemplate)
The data displayed in the grid is as follows -
Parent columns -
* Parent Name
* Current Status
Child columns -
* Timestamp
* Status
Requirement -
Parent Grid's last column ("Current Status") width is set to * so that it can take the full available width of the page.
When we click on the "+" sign near the parent, the child grid view gets expanded.
In the child grid view, the last column ("Status") width should be equal to last column ("Current Status") width of the parent.
Currently the column width of the last column ("Current Status") is set to *.
Observed behavior -
The child grid view's last column ("Status") width is set to a large value more than the laset column width of the parent.
Due to this large width, a scroll bar gets added at the bottom to scroll to the end.
Note that the data in the last column ("Status") of child grid is very less, so no idea why its creating the column width of such large value.
Please check attached file "child_grid_expanded_with_comments.png".
Can you please let me know how to solve this problem.
http://docs.telerik.com/devtools/wpf/controls/radgridview/hierarchical-gridview/how-to/access-child-gridview
(used ChildTableDefinitions & HierarchyChildTemplate)
The data displayed in the grid is as follows -
Parent columns -
* Parent Name
* Current Status
Child columns -
* Timestamp
* Status
Requirement -
Parent Grid's last column ("Current Status") width is set to * so that it can take the full available width of the page.
When we click on the "+" sign near the parent, the child grid view gets expanded.
In the child grid view, the last column ("Status") width should be equal to last column ("Current Status") width of the parent.
Currently the column width of the last column ("Current Status") is set to *.
Observed behavior -
The child grid view's last column ("Status") width is set to a large value more than the laset column width of the parent.
Due to this large width, a scroll bar gets added at the bottom to scroll to the end.
Note that the data in the last column ("Status") of child grid is very less, so no idea why its creating the column width of such large value.
Please check attached file "child_grid_expanded_with_comments.png".
Can you please let me know how to solve this problem.