4 Answers, 1 is accepted
0
Hi Pablo,
You can check the attached web site sample to see how you can achieve this requirement.
Regards,
Eyup
Telerik by Progress
You can check the attached web site sample to see how you can achieve this requirement.
Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which
deliver the business app essential building blocks - a grid component,
data visualization (charts) and form elements.
0
Pablo
Top achievements
Rank 1
answered on 15 Dec 2016, 11:57 AM
Thank you but I was asking about RadPivotGrid, not RadGrid.
0
Hello Pablo,
I'm afraid there is no built-in functionality to achieve this requirement.
Regards,
Eyup
Telerik by Progress
I'm afraid there is no built-in functionality to achieve this requirement.
Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which
deliver the business app essential building blocks - a grid component,
data visualization (charts) and form elements.
0
Pablo
Top achievements
Rank 1
answered on 11 Jan 2017, 11:28 AM
I have found a crappy workaround
.vb
Protected Overrides Sub OnPreRender(e As EventArgs)
MyBase.OnPreRender(e)
Dim css As String = ""
For Each filter As PivotGridFilter In RadPivotGrid1.Filters
css = css & "#ctl00_ContentPlaceHolder1_RadPivotGrid1_ctl00_ctl00_rc_" & filter.FieldName & "{background-color:" & ConfigurationManager.AppSettings.Item("PivotFilterActiveColor") & "!important;}" & vbCrLf
css = css & "#ctl00_ContentPlaceHolder1_RadPivotGrid1_ctl01_ctl01_rc_" & filter.FieldName & "{background-color:" & ConfigurationManager.AppSettings.Item("PivotFilterActiveColor") & "!important;}" & vbCrLf
css = css & "#ctl00_ContentPlaceHolder1_RadPivotGrid1_ctl02_RowZone1_rc__" & filter.FieldName & "{background-color:" & ConfigurationManager.AppSettings.Item("PivotFilterActiveColor") & "!important;}" & vbCrLf
Next
estilo.InnerHtml = css
End Sub
.aspx
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadPivotGrid1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadPivotGrid1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
></
telerik:AjaxUpdatedControl
>
<
telerik:AjaxUpdatedControl
ControlID
=
"estilo"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
></
telerik:AjaxUpdatedControl
>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
>
</
telerik:RadAjaxLoadingPanel
>
<
style
id
=
"estilo"
runat
=
"server"
></
style
>