This topic is locked
[SOLVED]

 Make list column sortable

1/23/2017 7:33:14 PM
ASPRunner.NET General questions
M
Mack88 authorDevClub member

I have a horizontal list view to which I have added more database fields. I've added a label to each column header and want to make it sortable but haven't figured out how.
Any help will be appreciated.
Thanks in advance.
Chris
(ASPR.NET 9.6 Ent.)

admin 1/24/2017

Not really sure if I understand the question. All columns are sortable by default. Please elaborate.

jadachDevClub member 1/24/2017

You need to make these changes on the Fields tab. Don't just do in in the Visual editor.

The editor will automatically have you new fields you decide to have on the list page and they will by default be sortable.

M
Mack88 authorDevClub member 1/24/2017

Thanks Jerry. I guess I'll lose my old (ISD) thinking eventually!
Chris

Pete K 1/27/2017



Thanks Jerry. I guess I'll lose my old (ISD) thinking eventually!
Chris


Yes!
I learned early on to try everything else before making design changes in the editor. You can do so much in the tables/fields/sort/style sections without having to make any design changes. By avoiding the editor, you gain the ability to quickly add/remove fields, configure filtering, sorting, field order and lots of other things and have the page automatically stay in sync with those changes. If, on the other hand, you start moving fields around in the editor you either have to "lock" the page and lose the syncing ability, or possibly lose those changes. I kept doing that early on.

M
Mack88 authorDevClub member 1/27/2017

Thanks for sharing your experience, Pete. I really appreciate the advice that you and Jerry have given me. I'm already feeling more comfortable and productive <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=81191&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />.
Cheers guys.