I'm working on a small workshop project that involves a series of sizes in imperial and metric. I need them to be strictly sortable, so will be converting the imperial into the metric column. The whole table is wrapped in
<sortable>[/m] tags. Now being a lazy man at heart, I added in https://www.dokuwiki.org/plugin%3Atablecalc and set the blanks in the metric column to [m]=round(25.4*cell(0,row()),1). To make life
really easy I also set up bureaucracy and pagemod to write the lines for me, using pipe syntax for the default:
@@Cmm|~~=round(25.4*cell(0,row()),1)~~@@
Now I started to get worried. A hundred or two rows with up to three calculations per row to be parsed and performed each time the page is displayed! For that matter, does hitting the sorting tabs cause a recalculation? I've honestly no idea how much of a load that might be, I'm still at the development stage. Does anyone have any ideas?
I have also had a play with either an inline or file-based CSV solution, but I don't think that gains me anything.
I did consider using a spreadsheet, but it requires something at the client side to interpret the
.ods file, which I can't guarantee.