- THE ABILITY OF FOXPRO 2.6 FOR WINDOWS TO PERFORM COSS TABULASTION CODE
- THE ABILITY OF FOXPRO 2.6 FOR WINDOWS TO PERFORM COSS TABULASTION PLUS
Using the beta however requires that you also use an interim version of jQuery (1.2.4a). Many of the controls also have had a big face lift with much nicer UI and effects applied. I've used quite a few of the 1.5b components and had no major problems. Version 1.5 - which is not released yet, but available in beta form - fixes these issues with a complete overhaul of the jQuery.ui API.
Most of the controls are based on third party plug-ins that have been drafted into the jQuery.ui API and in version 1.0 that really showed by way of the differing API interfaces. There were lots of issues with rendering and most of the components worked haphazardly with no consistency between the various control APIs. Unfortunately Version 1.0 was a really bad release with many of the components not even working out of the box. When jQuery.ui 1.0 was first released I was pretty excited to see that there'd be a somewhat uniform UI library built ontop of jQuery.
jQuery UI - Wait for Version 1.5 or use the 1.5 Beta 2 now It isn't automatic, but it ain't rocket science either. However for sorting you definitely have to send all the items/ids so the server can properly reassemble the items and sort accordingly. If your lists are large and push back lots of data you'd probably also implement some sort of IsDirty flag that determines whether an item has changed so only those items changed are sent to the server.
THE ABILITY OF FOXPRO 2.6 FOR WINDOWS TO PERFORM COSS TABULASTION PLUS
To use Sortables you'll need jQuery plus a few of the jQuery.ui scripts: The really cool thing about Sortable though is how easy it is to use: It's an extender, so all you do is point it at the result of a jQuery selector that is a list and add a few simple and optional settings and that's it. The plug in also handles scrolling the browser when bumping up against edges. Items slide around as they are sorted and use a nice sliding into place effect when dragging is complete, or slide back into their original position if moved out of the main area. Here's what sorting operations look like (the real deal is a lot smoother - this is captured as an animated gif with CamTasia): In my app the administrator can rearrange images in real time, make changes to captions and then when done save them back via an Ajax callback to the ASP.NET server app. One place I used Sortable is in my photo album where I allow client side sorting of the images that are displayed. It's also fairly customizable to let you control how sorting works and how the items are represented while dragging.
Items can be dragged around and sorted and the items appear transparent when dragging (by default).
THE ABILITY OF FOXPRO 2.6 FOR WINDOWS TO PERFORM COSS TABULASTION CODE
It's extremely easy to use in client code by simply pointing at the list and a few options to make the list sortable. It lets lets you create sortable unordered/ordered lists or a plain group of contained DIV tags. JQuery's Sortable is a cool client side jQuery plugin that is part of the jQuery.ui plug in library that works well, looks very nice and is fairly self contained (2 scripts beyond jQuery). I've also tried a few other components that do sorting and most are quirky or don't work well cross browser. Ok, I failed - I got most of it almost working but there were always a few things that just didn't work quite right. Personally I've been wanting to add sorting to a number of applications for ages, and some time ago I started down the path of building something of my own to handle this task on the client side with JavaScript. Sorting of a list of items is a common task in any user interface.