Hello,
In my project i use a RadGridView, this grid display only GridViewColumn. There's no rows displayed.
The GridViewColumn are created dynamically by code and bind on the RadGridView .
The creation :
(For example) When i have 10 columns, my headers are well displayed, the header bar is full, when i have 11 columns only 10 columns are displayed correctly, the last one is not visible.
If i move a headercolumn, the progress bar appear (a resize is launch)
Have you an idea please.
How can i force to recalculate the grid Width and the scrollviewer to be displayed.
Thank you
In my project i use a RadGridView, this grid display only GridViewColumn. There's no rows displayed.
The GridViewColumn are created dynamically by code and bind on the RadGridView .
The creation :
TWC.GridViewColumn collHeader =
new
TWC.GridViewColumn();
collHeader.IsSortable =
true
;<br>
collHeader.IsReorderable =
true
;<br>
collHeader.DataContext =
this
;<br>
collHeader.MinWidth = 100;<br>
collHeader.UniqueName = resultItem.label;<br>
ButtonHeaderResult buttonHeader =
new
ButtonHeaderResult();<br>
buttonHeader.DataContext =
this
;<br>
buttonHeader.btnDelete.Tag = collHeader;<br>
buttonHeader.LabelContent.Text = resultItem.label;<br>
buttonHeader.ToolTip = resultItem.label;<br>
collHeader.Header = buttonHeader;<br>
collHeader.Tag = resultItem;<br>
return
collHeader;
(For example) When i have 10 columns, my headers are well displayed, the header bar is full, when i have 11 columns only 10 columns are displayed correctly, the last one is not visible.
If i move a headercolumn, the progress bar appear (a resize is launch)
Have you an idea please.
How can i force to recalculate the grid Width and the scrollviewer to be displayed.
Thank you