Tables ordering with row recorder

Tables ordering with row recorder

cokechiucokechiu Posts: 40Questions: 14Answers: 5

DB tables [users]
Field,
1. uid (user id)
2. username
3. password
4. dorder ( display order )

I don't want the user changing tables ordering, but I need the table display by [dorder] field.

Any suggestion ?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin

    If you don't want the user to be able to reorder the rows, then don't use the RowReorder extension. The sole reason for that extension is to allow the user to reorder rows!

    If you want to sort by a specific column then use the order option, and columns.orderable to disable user ordering of the table.

    Allan

  • cokechiucokechiu Posts: 40Questions: 14Answers: 5

    Sorry, I misslead you.

    I mean I don't want user to change the table ordering field other than "dorder"

    I also need table only order by "dorder" field.

  • cokechiucokechiu Posts: 40Questions: 14Answers: 5
    edited September 2016 Answer ✓

    Oh columns.orderable. thanks a lot, please ignore my first reply.

    Thx, I solved my problem.

This discussion has been closed.