Back to Top
The nuts and bolts for
Creative web development

Free: Creating a Sortable table Behavior (PHP or ASP)

Building Database Applications; Creating a Sortable Behavior

 

Open

Download Source Code / PDF Help File: Download

Tutorial #15 Today we'll add the sortable columns behavior to our master records page, this also know as creating a sortable datagrid.   This is our first step with making our master records page more user friendly.

Overview

Extension Details

Sort Repeat Region, V1.7.3 by Tom Muck

As with my other server behaviors, the Sort Repeat Region server behavior is designed to work hand-in-hand with existing Dreamweaver server behaviors, like the Recordset and the Repeat Region. This server behavior will enhance the core set of Dreamweaver MX server behaviors by adding a Sort function to arsenal. The server behavior assumes you are using standard UltraDev or Dreamweaver MX recordsets and repeat regions. When you apply a repeat region to a table row, there is no easy way to sort the results according to the column heading. This server behavior can be applied to a table that has a repeat region on it. The server behavior will automatically create all the code necessary to have clickable links in place of the column headings that will order the recordset by that column. Another click will order in descending order.

Read the full article

Aron K

Aron KChief software architect at SimpleTick.com
SimpleTick is an ASP.Net e-Ticketing Application.
You can install SimpleTick on any Windows 2008 server.
If you are a PHP guru - have no fear. SimpleTick works well with WebHooks. SimpleTick is written in C#.
There's an open source version!

See All Postings From Aron K >>

Share this Article