chore(datalist): Add global vars statement to fix `loadAll()` method

Also renamed to DatalistTable for consistency with other refactors.

This is considered a chore because the issue it fixes was introduced
during development and never released, so it should not go in the changelog.

Refs #7457