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

How to number rows of data

3 Answers 1170 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ndugwa2u
Top achievements
Rank 1
ndugwa2u asked on 09 Aug 2010, 08:01 AM
Help i would like to number my rows of data like;
    Student Name | Marks Attained | Final Grade
1. John Denis      |  60                    | 45
2.  Mark Evans    | 90                     |50
3.  Clare              | 78                     | 90

what function can i use any where do i use it?
I have trie Row Number for Coloring the different Rows(i.e RowNumber()%2 = 1 in conditional  formating ) but cant number the rows.

3 Answers, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 12 Aug 2010, 11:33 AM
Hi Ndugwa Thomas,

You can use the RowNumber(scope) function inside an expression for the TextBox value. For example:

=RowNumber("SalesPersonQuarter") + ". " + Fields.SalesPersonFullName

where SalesPersonQuarter is the name of the table.

Hope this helps.

Best wishes,
Chavdar
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Pavan
Top achievements
Rank 1
answered on 04 Apr 2012, 11:22 PM
Is there any where to  reset the rownumber for each page in PDF for the  aboue case
0
Steve
Telerik team
answered on 05 Apr 2012, 09:40 AM
Hi Pavan,

You can do this for aggregate data by utilizing the RunningValue(scope, aggregateFunction). If you talk about resetting the numbering of rows per page - this is not possible.

Kind regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
General Discussions
Asked by
ndugwa2u
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Pavan
Top achievements
Rank 1
Steve
Telerik team
Share this question
or