Reorder items

In order to generate the AJAX drag & drop feature for ordering items in browser, use the AJAX Drag and Drop Ordering wizard. It is accessible from the MX AJAX Toolbox tab of the Insert bar (or MX AJAX Toolbox menu item from the Insert menu):

 

The AJAX Drag and Drop Ordering wizard has one step. Configure it as shown below:

 

  1. Select the database connection to use for retrieving data.

  2. Select the database table whose records you want to reorder.

  3. Select the table column that uniquely identifies each record.

  4. Select the table column that stores the record labels you want displayed in browser.

  5. Select the table column (numeric and with unique values) that stores the records order.

  6. The buttons in the lower part of the interface offer the next functionalities:

Once generated in page, this widget cannot be edited (regarding the server behaviors it generates). You can edit the titles in Design view though. If after generating it, you realize that you want to configure some settings differently, use the Undo command. Everything that was generated will be removed from page, and you can apply the wizard again, configuring it differently.