Hi,
Iam using telerik grid with self-heirarchy feature. Here i need to have PAGINATION on child items instead of Parent Items. Please provide solution to do the same.
Ex: (See Attachment)
Pagination should be like: st - st (1st child item of 1st parent item - last child item of last parent item)
instead of: Do - Do
Iam using telerik grid with self-heirarchy feature. Here i need to have PAGINATION on child items instead of Parent Items. Please provide solution to do the same.
Ex: (See Attachment)
Pagination should be like: st - st (1st child item of 1st parent item - last child item of last parent item)
instead of: Do - Do
4 Answers, 1 is accepted
0

Jayesh Goyani
Top achievements
Rank 2
answered on 24 May 2012, 02:45 PM
Hello,
Please try with below code snippet.
Let me know if any concern.
Thanks,
Jayesh Goyani
Please try with below code snippet.
protected
void
RadGrid1_DetailTableDataBind(
object
sender, GridDetailTableDataBindEventArgs e)
{
e.DetailTableView.AllowPaging =
true
;
}
Let me know if any concern.
Thanks,
Jayesh Goyani
0

Ankit
Top achievements
Rank 1
answered on 15 Jun 2012, 09:24 AM
HI,
I am using a self hierarchical Rad Grid,
I am successfully able to get alphabetical paging for the grid according to parent Element. Now i want the pagination according to the Child element.
I am attaching the Grid Format. I want pagination according to the child element.
I am using a self hierarchical Rad Grid,
I am successfully able to get alphabetical paging for the grid according to parent Element. Now i want the pagination according to the Child element.
I am attaching the Grid Format. I want pagination according to the child element.
0

Jayesh Goyani
Top achievements
Rank 2
answered on 16 Jun 2012, 08:46 AM
Hello Ankit,
can you please elaborate your scenario in detail?
Thanks,
Jayesh Goyani
can you please elaborate your scenario in detail?
Thanks,
Jayesh Goyani
0

Ankit
Top achievements
Rank 1
answered on 18 Jun 2012, 09:53 AM
Hey Jayesh,
My scenario is like :-
I have a Rad Grid which will get populated with a Self-hierarchy relation between child and Parent.
Now there is pre-existing code for the alphabetical pagination on the Master View of the Grid. The pagination is totally hard coded.(And I am not supposed to make changes in pre-Existing Code)
While selecting item from the Data Source we are using grid.MasterTableView.FilterExpression to select the parent element by defining the Filter Expression="ID =" +Guid.Empty; (which will filter all the parent element )
Now this is working fine, it gives me pagination according to parent Element of the Hierarchy and Grid is also properly binded (displayed Parent and Child both element).
Now i want the pagination should be based on the child element so i changed the FilterExpression to "ID !="+Guid.Empty.
This will give me all the Child element. The Pagination is working fine here also (as desired output) but it displays only Child Element if the hierarchy on the Grid.
My scenario is like :-
I have a Rad Grid which will get populated with a Self-hierarchy relation between child and Parent.
Now there is pre-existing code for the alphabetical pagination on the Master View of the Grid. The pagination is totally hard coded.(And I am not supposed to make changes in pre-Existing Code)
While selecting item from the Data Source we are using grid.MasterTableView.FilterExpression to select the parent element by defining the Filter Expression="ID =" +Guid.Empty; (which will filter all the parent element )
Now this is working fine, it gives me pagination according to parent Element of the Hierarchy and Grid is also properly binded (displayed Parent and Child both element).
Now i want the pagination should be based on the child element so i changed the FilterExpression to "ID !="+Guid.Empty.
This will give me all the Child element. The Pagination is working fine here also (as desired output) but it displays only Child Element if the hierarchy on the Grid.