LS,
After changing the value of the property 'ClientSettings-Scrolling-AllowVerticalScroll" to "true" the layout of the grid changes in an undesired way.
(Check the images).
The width of the second header column cannot hold the text anymore. The second header column seems to be rendered with the width of the first (85px) and vice versa (300px).
I'm fairly new to this control and have no idea why such a simple change has such an impact. I must be doing something else wrong but i cannot find anything strange in the code (provided below).
Anyone any idea why the grid behaves like this?
After changing the value of the property 'ClientSettings-Scrolling-AllowVerticalScroll" to "true" the layout of the grid changes in an undesired way.
(Check the images).
The width of the second header column cannot hold the text anymore. The second header column seems to be rendered with the width of the first (85px) and vice versa (300px).
I'm fairly new to this control and have no idea why such a simple change has such an impact. I must be doing something else wrong but i cannot find anything strange in the code (provided below).
Anyone any idea why the grid behaves like this?
<telerik:RadPivotGrid ID=
"pivControles"
runat=
"server"
Skin=
"Metro"
AllowSorting=
"true"
AllowPaging=
"false"
RowGroupsDefaultExpanded=
"false"
TotalsSettings-RowGrandTotalsPosition=
"Last"
TotalsSettings-RowsSubTotalsPosition=
"None"
TotalsSettings-ColumnsGrandTotalsPosition=
"Last"
TotalsSettings-ColumnsSubTotalsPosition=
"None"
TotalsSettings-GrandTotalsVisibility=
"RowsAndColumns"
OnNeedDataSource=
"PivControles_NeedDataSource"
OnItemCommand=
"PivControles_ItemCommand"
OnCellDataBound=
"pivControle_CellDataBound"
ShowFilterHeaderZone=
"false"
ShowColumnHeaderZone=
"false"
ShowRowHeaderZone=
"false"
ShowDataHeaderZone=
"false"
EnableToolTips=
"true"
ClientSettings-ClientEvents-OnToolTipShow=
"showToolTip"
ClientSettings-ClientEvents-OnCellMouseOut=
"CellMouseOut"
ClientSettings-ClientEvents-OnCellMouseOver=
"CellMouseOver"
ClientSettings-Scrolling-AllowVerticalScroll=
"true"
>
<Fields>
<telerik:PivotGridColumnField DataField=
"SpecialismeOmschrijving"
CellStyle-BackColor=
"#F0F0F0"
Caption=
"Specialisme"
UniqueName=
"Specialisme"
/>
<telerik:PivotGridRowField DataField=
"ClusterIdEnCode"
ShowGroupsWhenNoData=
"false"
CellStyle-Width=
"85px"
CellStyle-BackColor=
"#F0F0F0"
Caption=
"Cluster"
/>
<telerik:PivotGridRowField DataField=
"ControleCodeEnOmschrijving"
CellStyle-CssClass=
"controleomschrijvingcell"
Caption=
"Controle"
CellStyle-Width=
"300px"
CellStyle-BackColor=
"#F0F0F0"
/>
<telerik:PivotGridAggregateField DataField=
"AantalControleResultaten"
Caption=
"Aantal resultaten"
Aggregate=
"Sum"
CellStyle-CssClass=
"pivotcell"
>
<CellTemplate>
<asp:LinkButton ID=
"btnGoToWerklijst"
runat=
"server"
onmouseover=
"BtnMouseOver(this)"
onmouseout=
"BtnMouseOut(this)"
ForeColor=
"#153291"
Text=
"<%# Container.DataItem %>"
/>
</CellTemplate>
</telerik:PivotGridAggregateField>
</Fields>
</telerik:RadPivotGrid>