Jump to content


Photo

display sort arrow on table render, not just after column header is clicked


  • Please log in to reply
1 reply to this topic

#1 jwesneski

jwesneski
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 08 August 2006 - 02:15 AM

i'm using the MIT freelicense 'sorttable.js' javascript to make an html table sortable by clicking on the column headers. i'm not very good at javascript (yet) and would like the script to display the arrow the first time the table renders, not wait until a column header has been clicked. i'd like to display the down arrow upon initial page load/table render. i've tried monkeying around with it, to no avail. it's a little beyone me at this stage, i'd appreciate any guidance.
(you can find 'sorttable.js' under google.)

#2 manmadareddy

manmadareddy
  • Members
  • PipPipPip
  • Advanced Member
  • 50 posts

Posted 08 August 2006 - 01:46 PM

Just call the same function which is executing upon clicking the fields
when the body load also.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users