Menu

#75 Want to have fixed (not sortable) "Serial Number" column in the list

after_1.0
open
nobody
Bug (1)
1
2013-12-30
2013-12-30
Sunetra
No

I want to show Sr. No. column in display tag table but when I sort any column then Sr. No. column values also get sorted with sorted column rows. I want to display Sr. No. (in ascending order) irrespective of display tag sorting.
I am using '_rowNum' implicit value also tried with normal scriptlet variable but every time Sr. No. gets changed.

E.g.:
Sr.No. Name
1         A
2         C
3         B

When I sort "Name" column :-
Sr.No. Name
1         A
3         B
2         C

But I want table should be displayed like :-
Sr.No. Name
1         A
2         B
3         C

Can anyone please help/advice me a solution?
Thanks in advance..

Discussion


Log in to post a comment.