You need to sign in to do that
Don't have an account?

Standard Alphabetic Ordering on VF Page
Hi All,
I have a custom Visual force page consisting of pageblock section with some information.
I wanted to have alphabetic ordering just the way it is done in the standard object page layouts, for the list i have in this pageblock section
Is there a way to do this?
Please help me out.
Thanks
Rajat.
Hi,
Try the below code snippets as reference:
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Hi rajat,
Your question is not really clear. If you just want sort a list of items, you can use sort() method on the List in your controller code. Note that sort() works only on primitive data types.
Thanks
Vishnu
You could also just do an ORDER BY in your initial SOQL statement...
-Andy
hi,
How to do the column header sort in visual force page. That is which like sorting in list views... if we click on the column i need to sort the table values. Is it possible please help me..
Thanks,
Lakshmi
nagalakshmi,
I have an article on my blog on how to do this with jQuery - check it out!
http://techman97.wordpress.com/2012/03/15/jquery-cloudstock-2012-art-1/
-Andy
How can i add the pagination technique in the above code
I have gone through your problem.Please try the below code.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Sachin Arora