Version 2.16 is now available
This version adds a new javascript function for derived columns.
row.hasColumn(name) will return true only if a column called "name" exists in the model.
This allows you to use the same javascript for multiple different data sets which might merely have a different number of named columns, e.g. (entries/1, entries/2 in one file, and entries/1, entries/2, entries/3 in another file; or perhaps entries/3/caption might exist, but no entries/1/caption or entries/2/caption).
Farling
Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module
Donations gratefully received via Patreon, Ko-Fi or Paypal
|