Skip to content

Error in the API documention of column fields "recalcWhen" #2110

@marcchautems

Description

@marcchautems

Describe the current behavior

From the API documentation it is mentionned that the value for recalcWhen are the following :
1= On new records or when any field in recalcDeps changes, it's a 'data-cleaning'.
2=Never.
3=Calculate on new records and on manual updates to any data field.

From my tests:
0 = on new row + on update of fields in recalcDeps
1= never
2= Calculate on new records and on manual updates to any data field.
Any other value= Calculate on new records only

Also on the documentation of "Add or update columns of a table" columns -> fields, it shoud be mentionned that recalcDeps need to have "L" as a constant for it first element
https://support.getgrist.com/api/#tag/columns/operation/replaceColumns

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions