You need to sign in to do that
Don't have an account?
Naveen Kannoju02547126464965992
sort the record based on field name in data table
cloud you please give me help for this Question
I retrive the data from account(using custom controller) object and display that data in datatable(vf) format this one is good.
but here column name for example: name,industry,type,rating.
here whenever i click the name or industry ior any other field name I want to display sort order depending on that field.
Thanks
Naveen
I retrive the data from account(using custom controller) object and display that data in datatable(vf) format this one is good.
but here column name for example: name,industry,type,rating.
here whenever i click the name or industry ior any other field name I want to display sort order depending on that field.
Thanks
Naveen
Try these,
https://github.com/Mottie/tablesorter/wiki
http://mottie.github.io/tablesorter/docs/
https://github.com/Mottie/tablesorter
--Akram
All Answers
VF:
Controller:
--Akram
Akram
Thank you very very much for given this reply.
which is very useful to me
Thanks
Naveen
How to highlight that column name ,here problem is data and column both are same type .that's why i want change header will appear another
way.
total means header will displayed in button type or drop down type .
please give me solution for this.
Thanks,
Naveen
Try these,
https://github.com/Mottie/tablesorter/wiki
http://mottie.github.io/tablesorter/docs/
https://github.com/Mottie/tablesorter
--Akram
Thank you for giving this solution.
Thanks,
Naveen.
You will also find an elegant solution without javascript proposed by Trailhead Salesforce.
Here is the link : https://developer.salesforce.com/trailhead/force_com_dev_beginner/visualforce_fundamentals/visualforce_custom_controllers
For details tech information plz visit Ultimate Technical Gyan (http://Gethow.in)
Source : https://careermudhra.com