+ Start a Discussion
Vigneshwaran LoganathanVigneshwaran Loganathan 

hi all

I have some records in ACCOUNTS which needs to be SORTED by clicking its header. I have downloaded a JAVASCRIPT file and uploaded to STATIC RESOURSES for embedding it in Visualforce. I have used this tag,   /*** hello is my javascript***/
<apex:includeScript value="{!$Resource.hello}"/>
Everything goes wel but i cant able to sort by click. Is that procedure right?
If you can gimme an Example,it will be great for me :)

Thanks In Advance :)
Ravi NarayananRavi Narayanan
Try AngularJS. there are many methods Available in that
Frédéric TrébuchetFrédéric Trébuchet
Hi Vigneshwaran,

You can also do it with just Visualforce.
Here is a tutorial about this subject https://developer.salesforce.com/fr/trailhead/force_com_programmatic_beginner/visualforce_fundamentals/visualforce_custom_controllers.

Hope this helps,
Fred