hi,
i want help to implement the following logic.
i have a table like this below:
id description order
k1 test1 1
k2 test2 2
k3 test3 3
now i want to load this data into a listview in front end arranging according to the order
like
test1
test2
test3.
Till here i have implemented.
now comes the problem.. well i would not call ita problem might be its silly for ppl out there..[
]
i want the user to move the listview items as n how they want. i.e rearange the items on click of a button(moveup or down) and then on click of save update the same order in the database.
i.e if user rearranges the listview item like below
test3
test1
test2
then in the database i want to update the order
k1 test1 2
k2 test2 3
k3 test3 1
Any help and suggestion for implementing the same.
i want help to implement the following logic.
i have a table like this below:
id description order
k1 test1 1
k2 test2 2
k3 test3 3
now i want to load this data into a listview in front end arranging according to the order
like
test1
test2
test3.
Till here i have implemented.
now comes the problem.. well i would not call ita problem might be its silly for ppl out there..[

i want the user to move the listview items as n how they want. i.e rearange the items on click of a button(moveup or down) and then on click of save update the same order in the database.
i.e if user rearranges the listview item like below
test3
test1
test2
then in the database i want to update the order
k1 test1 2
k2 test2 3
k3 test3 1
Any help and suggestion for implementing the same.