Reaarange column with table refreshing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashwiniPat
    New Member
    • Jul 2008
    • 1

    Reaarange column with table refreshing

    hi,
    i want to write code for drag and drop, but every time page will refresh,when i rearrange column at that time table is refreshing it should appear in rearranged form
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    so you have to store the 'arrangement' in some way ... you might use a cookie or store it in a database ... and you have to find a way for what to store ... just an array with the ordered column-ids or whatever ... when the page loads (onload) you have to read that stored 'arrangement' and init the page in the desired way ...

    kind regards

    Comment

    Working...