This discussion is archived
11 Replies Latest reply: Nov 25, 2012 7:49 AM by rohan.walia RSS

Sum of Salary Column as footer

rohan.walia Newbie
Currently Being Moderated
Hi ,

I have a table and I want sum of salary in salary column footer.

I created view accessor to same EmployeeView and created a transient attribute. I set the value of this attribute as expression as EmployeesView1.sum("Salary").

This runs fine when data in Employee table is less. But when data is large it takes alot of time to calculate and show the value of this variable.

So what I am looking for is that this variable should show sum of salary of rows which are at present on the screen.

I am using jdev



  • Correct Answers - 10 points
  • Helpful Answers - 5 points