Changing the order of individual datatype elements
I have a checkbox list datatype, that i added another checkbox to. I want to move the new checkbox up so i is not displayed as the last one when the page is edited.
I can see in the DB that the datatypeprevalues table has a sort order field, but all rows in the table has "0" in sort order, is it not used?
Is there another way i can change the display / sort order of the checkboxes in the list ?
I already have data in the site so i can't just delet the checkboxes an recreate them in the correct order.
It can be used, but it's not used by default.... try changing the sortorder value in the database directly, sql statement that retrieves the values does take the sortorder into account, so it should work that way!
Changing the order of individual datatype elements
I have a checkbox list datatype, that i added another checkbox to. I want to move the new checkbox up so i is not displayed as the last one when the page is edited.
I can see in the DB that the datatypeprevalues table has a sort order field, but all rows in the table has "0" in sort order, is it not used?
Is there another way i can change the display / sort order of the checkboxes in the list ?
I already have data in the site so i can't just delet the checkboxes an recreate them in the correct order.
Thanks
Mikael
It can be used, but it's not used by default.... try changing the sortorder value in the database directly, sql statement that retrieves the values does take the sortorder into account, so it should work that way!
Cheers,
/Dirk
Thanks Dirk
I tried to put integer values in the sort order field, but it doesent seem to have any effect.
I stopped and restarted the site, and i tried to republish the entire site, but still no effect.
Is thee anything else i need to do to make it work?
Mikael
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.