Disable sorting by clicking header in list view when using dragSortOrder?

4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 10, 2009   (RSS)

By webdude - February 9, 2009

Is there a way to disable the feature which sort the list view when the column header is clicked?

We are having problems when using dragSortOrder. Sometimes a header gets clicked in the list view (which results in a new sort order) and then a drag sort is accidentally performed relative to this new sorting which wipes out a pain-stakenly chosen order.

It would be very hand to disable the header-click-to-sort feature for a section (especially when dragSortOrder is being used).

Any thoughts?

Thanks!

Re: [webdude] Disable sorting by clicking header in list view when using dragSortOrder?

By Dave - February 9, 2009

Hi webdude,

I can look into that. There may be cases where that would actually be desired behavior.

What if we made "Drag" clickable so you could revert to the original dragSortOrder and have a javascript confirm popup when the user tried to "drag sort" in a section that was sorted by a different column.

Would that work for you?
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Disable sorting by clicking header in list view when using dragSortOrder?

By webdude - February 9, 2009

Hi Dave,

Good point. I think a javascript confirm popup presenting the user with the option is a good choice since it offers the flexibility and the added safety measure at the same time.

BTW That a was quick reply!