Sortable HTML table (1 Viewer)

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 06:22
Joined
May 7, 2009
Messages
16,867
the discussion can be found here:
Sorting a HTML column | Access World Forums (access-programmers.co.uk)

I have found a good sorting javascript, but unfortunately when I try
to embed the "whole" javascript to the html, it does not work?

The javascript comes from here:
sorttable: Make all your tables sortable (kryogenix.org)
What I did to make it work is just Reference the javascript (from their site):

<script src=""https://www.kryogenix.org/code/browser/sorttable/sorttable.js""></script>

it would be great exercise if we can just embed the whole javascript so even
without Internet connection, we can sort the Columns of the Table.

There is already a facility to export MSA objects into an HTM/HTML
Code:
DoCmd.OutputTo acOutputObject, theObjectName, acFormatHTML, thePathFileName
But the resulting htm/html file is not very pleasing to see in the Browser.
So I made a simple "stylesheet" (on table tblForHTM).

Do as you pleased to improve.
 

Attachments

  • table_to_sortable_html.accdb
    588 KB · Views: 285

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 06:22
Joined
May 7, 2009
Messages
16,867
just a simple update.
you can add Image to the htm/html.
the Header now stays visible when you scroll.
 

Attachments

  • sample data html sort.accdb
    2.1 MB · Views: 251

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 06:22
Joined
May 7, 2009
Messages
16,867
it now has "hover" effect on the row
and a simple search.
 

Attachments

  • sample data html sort_V3.accdb
    928 KB · Views: 316

Users who are viewing this thread

Top Bottom