Windows Tested: Yes
Offline Compatible: Yes
DataTables is a highly flexible tool, build upon the
foundations of progressive enhancement, that adds dozens of advanced features to any HTML table.
DataTables itself is very configurable. To get you started, we've setup this bundle with limited options, but if your needs outgrow this starter bundle, you can fork it and customize it to do anything that DataTables can do.
In addition to the tableColumns and tableData arrays that you need to build, the bundle takes the following five parameters. If you want to enable the running of a FileMaker script when a row is clicked, fill in fileName and scriptName. If you leave scriptName blank, this feature will be disabled. The other three Boolean properties turn DataTables feature on and off. Experiment with those to suit your needs.
"fileName": "Carafe Kitchen",
To build up your column headings and your data, take a careful look at the provided sample data. You will probably want to modify the provided tableColumns array to match your own needs. There is usually no need to make that dynamic. The tableData array, on the other hand, will obviously be where the main FileMaker programming comes in. Be sure to take a look at the JSON functions in the FileMaker Help.