_setTableCells
Last updated
Adds data to an array of table cells
The id of the Job
JSON array of changes to make
the array is 2-level. the top level has keys which ID the table that the data is for, and within that is a hash-array of data indexed by row_col coordinates. The coordinates are zero-indexed.
FM_api('Job_setTables',['job_id'=>'322888','changes'=>'{"220335":{"0_1":"2"}}']);In this example, the number 2 is placed into the second column of the first row of table 220335, linked to job 322888
FM_api('Job_setTables',['job_id'=>'322888','changes'=>'{"220335":{"0_1":"2"},"321321":{"3_7":"4"}}']);In this example, two pieces of data are edited for two separate tables.
{'ok':1}Last updated