Change the Default Record Count Text

This article is now archived. Changing the record names is now available directly in the component options.

  • Not yet re-checked
  • Classic builder

Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------

Screenshot for “Change the Default Record Count Text”

In this example, we will use some code to change the text that says “3 Records” on the table component to “3 Projects.”

Step 1

Start by finding the component's ID, as shown in the image below.

Screenshot for “Change the Default Record Count Text”

Step 2

Once you find the ID, copy and paste the following code into the JavaScript section of your page.

Text
TB.render('component_3', function(data) {
    var number = parseInt(data.ele.find('.t-records-button').text());
    data.ele.find('.t-records-button').text(number + ' Projects');
});
Screenshot for “Change the Default Record Count Text”

Original Community Post:

Change the default record count text - Community Discussions / Tips and Tricks - Tadabase Community

Was this page helpful?

Something wrong or missing on this page? Tell us.