Change the Default Record Count Text
This article is now archived. Changing the record names is now available directly in the component options.
------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------
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.
Step 2
Once you find the ID, copy and paste the following code into the JavaScript section of your page.
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');
});
Change component_3 to the ID of your component and the “Projects” text to any custom text you would like.
Original Community Post:
Change the default record count text - Community Discussions / Tips and Tricks - Tadabase Community
We'd love to hear your feedback.