Legacy Tables
Legacy Tables is the deprecated Data Tables API, retained for long-term support of existing apps. New apps use the current Data Tables API by default.
Using Legacy Tables
Reverting back to Legacy Tables will render certain features unusable and result in diminished Data Table performance.
In order to revert back to Legacy Tables in your app, open Settings, then choose Data Tables, then check the Legacy Tables option. You do not need to change your app’s code.
Click here to enable Legacy Tables
Missing functionality
The Legacy Tables API is deprecated, and as a result does not feature all the functionality of the modern API. Here follows a list of features that are not available with Legacy Tables:
- Batching additions, updates and deletions of rows
- Model Classes
- Explicit cache control
- Listing available tables by calling
list(anvil.tables.app_tables) - Accessing a table by using square bracket notation, i.e.
app_tables["my_table"]
Do you still have questions?
Our Community Forum is full of helpful information and Anvil experts.