How to Use the Open Browser Window Behavior in Dreamweaver
How to Create Swaps with Multiple Images in Dreamweaver
How to Define Styles with the Tag Selector in Dreamweaver

How to Sort Table Data in Dreamweaver

When you’re working with lots of columnar data, you want to sort that data just as you do in a spreadsheet program. In Dreamweaver, you can sort data even after you format it in HTML but you don't have as many options as you do in Excel. For example, you can sort an entire table based on a specified row, but you can't sort different rows individually.

To use the Sort Table Data feature, create a new, blank HTML page, add a table with several rows and columns, and add some content. You may also open an existing page with a table of columnar data. Then, follow these steps:

  1. Select the table you want to sort.

    To select a table for sorting, simply place the cursor in any cell of the table you want to sort.

  2. Choose Commands→Sort Table.

    The Sort Table dialog box appears.

    image0.jpg
  3. Specify which column you want to sort by and then choose Alphabetically or Numerically and then Ascending or Descending.

    You can set up one or two sorts to happen simultaneously and opt whether to include the first row and whether to keep the <tr> (table row) attributes with a sorted row by selecting Keep All Row Colors the Same.

  4. Click OK.

    The selected cells are sorted, just as they are in a program such as Excel. (Pretty cool, huh?)

  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
How to Create Styles with Class and ID Selectors in Dreamweaver
How to Test Your Work with the Dreamweaver Site Reporting Feature
How to Synchronize Local and Remote Sites in Dreamweaver
How to Download an Existing Website in Dreamweaver
How to Set Up Dreamweaver’s FTP Features
Advertisement

Inside Dummies.com