how can i create customize table and value from JRBeanCollectionDataSource

0

For this scenario, i have VO class and i have set value from table for a single student. But  i have got three list for single student, Why because that student completed two UG courses and one PG course.

My VO class is:

private string ugname;

private string uguniversity;

private string ugyearOfComplete;

private string pgname;

private string pguniversity;

private string pgyearOfComplete;

and getter setter method. but i need output like this.

Education Details: 

Under Graduation1:

Name

B.A History

University

Xxx University

Year of Completion

2004

Place

Xxxx place

Percentage

68%

 

Under Graduation2:

Name

B.C.A

University

Yyy University

Year of Completion

2007

Place

Yyyy place

Percentage

82%

 

Post Graduation:

Name

M.C.A

University

Zzzz University

Year of Completion

2010

Place

Zzzz place

Percentage

93%

what i do for this scenario any one can help me

Advance thanks...

 

 

udumanajmeer's picture
Joined: Jun 4 2013 - 9:00pm
Last seen: 4 years 5 days ago

1 Answer:

0

I would link the lists together to generate one single list (datasource). Then use sorting by name and graduation. Group by name.

Then, always three records belong togehter, showing the grades of one student in a detail band. Use the group header to have the titles "Under Graduation1:", ...

Cheers, Thomas

http://www.thomaszimmer.net

Thomas Zimmer's picture
Joined: Oct 2 2012 - 1:35am
Last seen: 5 days 12 hours ago
Feedback
randomness