Using dragSortOrder

4 posts by 3 authors in: Forums > CMS Builder
Last Post: May 1, 2008   (RSS)

By InHouse - April 11, 2008

I like the idea of using the dragSortOrder feature but I'm having problems setting it up.

The docs say to create a field with the name 'dragsortorder' but do not say what type of field this should be. Flailing randomly has not made it work so I'm turning to the board for help.

Also, I'm assuming that the list view should have a line like:

$options['orderBy'] = 'dragSortOrder';

Any direction on this would be appreciated.

J.

Re: [InHouse] Using dragSortOrder

By Dave - April 11, 2008

It's case sensitive. Make sure the fieldname is 'dragSortOrder' and it will force you to use type 'none'.

I've made a note to improve the error checking to be case-insensitive for future versions.

Let me know if you need any more help with that.
Dave Edis - Senior Developer
interactivetools.com

Re: [HDBC] Using dragSortOrder

By Dave - May 1, 2008

Hi HDBC,

I've added a special case for the quick add for the next version. I've had to manually paste in the fieldname as well and it's a hassle.

In the editor record list does it show up as a grip graphic on the left edge? Adding dragSortOrder to the ListPage Fields and Order By should work.

Do you want me to take a look at it? Email me a CMS login to dave@interactivetools.com and I'll get it sorted out for you ASAP.
Dave Edis - Senior Developer
interactivetools.com