Hi, The syntax for much of this has changed since that post.
Instead of #+style: you will want #+HTML_HEAD: And, attaching a class to an exported html table is handled differently too. Instead of #+attr_html: class="sortable" you want #+attr_html: :class "sortable" Such declarations also work for exported tables if placed between code blocks that export tables and the result tables (i.e. immediately after the `#+end_src`) Also, if you want ALL tables to have a class of sortable, you _can_ eval the following (plist-put org-html-table-default-attributes :class "sortable") i.e. by putting it in your emacs init.el Or, on a per-buffer basis, which is probably better, you can put this in your .org file #+BIND: org-html-table-default-attributes (:border "2" :cellspacing "0" :cellpadding "6" :rules "groups" :frame "hsides" :class "sortable") By the way, I don't use sortable, I use dataTable, but the method for getting the class attribute on the html table is the same. ~malcolm_cook >-----Original Message----- >From: emacs-orgmode-bounces+mec=stowers....@gnu.org >[mailto:emacs-orgmode-bounces+mec=stowers....@gnu.org] On >Behalf Of Michael Brand >Sent: Tuesday, September 30, 2014 1:12 PM >To: David Arroyo Menendez >Cc: Org Mode >Subject: Re: [O] sortable columns in html tables > >Hi David > >On Tue, Sep 30, 2014 at 1:44 AM, David Arroyo Menendez <davi...@gnu.org> >wrote: >> How can I make sortable columns in tables? I would be useful to edit or >> export to html. >> >> Some experiences? >> >> Thanks! > >As I understand you this pointer might be of interest: >http://lists.gnu.org/archive/html/emacs-orgmode/2012-11/msg00809.html > >Michael