Access data table records from JS

Hello @jmendoza, welcome to our community! :smiley:

There are a few options you can use to access an array of records for programmatic use.

Option 1 - The Tadabase JavaScript API
The JavaScript API can be used to get an array of records that are currently being displayed on a component. For example, if I have a table component on a page with the component ID of component_3, I can add the following code to the JavaScript section of the page.

TB.render('component_3',function(data){
    console.log(data.records);
});

Option 2 - Custom Component
While I’m unsure what your use case is for this, I’m positive that you’ll be interested in our brand new Custom Component. :smile: Please feel free to check it out and contact us if you’d like to try it out.

Option 3 - Our REST API

More info can be found here → REST API | Tadabase