4 Answers, 1 is accepted
0
Hi Kalyani,
The paging functionality of RadPivotGrid can be enabled by setting the AllowPaging property to true, if you set this property to false you should not see the pager. In case you are asking for a different behavior, please elaborate a bit more what is the condition which determines the pager visibility.
Regards,
Pavlina
Telerik
The paging functionality of RadPivotGrid can be enabled by setting the AllowPaging property to true, if you set this property to false you should not see the pager. In case you are asking for a different behavior, please elaborate a bit more what is the condition which determines the pager visibility.
Regards,
Pavlina
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

Kalyani
Top achievements
Rank 1
answered on 14 Apr 2014, 03:46 PM
I wanted something like this -
Protected Sub RadGrid1_PreRender(sender As Object, e As EventArgs)
If RadGrid1.EditIndexes.Count > 0 OrElse RadGrid1.MasterTableView.IsItemInserted Then For Each item As GridItem In RadGrid1.MasterTableView.GetItems(GridItemType.Pager)
item.Enabled = False
Next
End If
End Sub
Protected Sub RadGrid1_PreRender(sender As Object, e As EventArgs)
If RadGrid1.EditIndexes.Count > 0 OrElse RadGrid1.MasterTableView.IsItemInserted Then For Each item As GridItem In RadGrid1.MasterTableView.GetItems(GridItemType.Pager)
item.Enabled = False
Next
End If
End Sub
0
Hi Kalyani,
To disable PivotGrid pager on the server you can handle on PivotGrid PreRender event access the pager item and set its Enabled property to false as shown below:
Regards,
Pavlina
Telerik
To disable PivotGrid pager on the server you can handle on PivotGrid PreRender event access the pager item and set its Enabled property to false as shown below:
Protected
Sub
RadPivotGrid1_PreRender(sender
As
Object
, e
As
EventArgs)
Handles
RadPivotGrid1.PreRender
For
Each
item
As
PivotGridItem
In
RadPivotGrid1.Items
If
item.ItemType = PivotGridItemType.PagerItem
Then
item.Enabled =
False
End
If
Next
End
Sub
Regards,
Pavlina
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

Kalyani
Top achievements
Rank 1
answered on 17 Apr 2014, 04:43 PM
Worked great.
Thank you
Kalyani
Thank you
Kalyani