I finally found a working way how to create tables in WordPress.
Not sure why WordPress did not include a built-in feature to create tables (I need them frequently), but you need to add a plugin to get support for tables in your postings.
I tried out a variety of plugins from WordPress’ plugin site, however, most had their limitations or where not working with Version 3.4.1 of WordPress.
Creating a Table From an Inline Document
To create a table from an inline document, just enter the following HTML code:
[ta ble] Year,Make,Model,Length 1997,Ford,E350,2.34 2000,Mercury,Cougar,2.38 [/table]
Sorry for the [ta ble] but otherwise, the table is being generated 😉
You can also add various parameters to your table:
[ta ble tablesorter="1" id="someid"] Year,Make,Model,Length 1997,Ford,E350,2.34 2000,Mercury,Cougar,2.38 [/table]
Creating a Table From an External Document
To load the CSV data from an uploaded file or from another Web site, use the following code:
[ta ble file="example.com/blog/wp-content/uploads/pricelist.csv"][/table]
Problems and Missing Features
The only problem that I could find is that the plugin seems unable to load large CSV files, either inline or from external sources. The problem encountered with a file of 1.5 MB.
One missing feature is that I would like to have a browse feature. That means that only a subset of the data is being displayed (e.g. the first 10 records) and the user can click through the pages of the data. That is useful with large dataset (once they work).
Reported and requested these issues with the developers.