This is a migrated thread and some comments may be shown as answers.

RADGridView pb progressBar

0 Answers 85 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michel
Top achievements
Rank 1
Michel asked on 13 Apr 2012, 01:59 PM
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 :
 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

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Michel
Top achievements
Rank 1
Share this question
or