Hide Table Actions No Print

Due to table size limitations, I have several forms that are linked to a customer.
Due to how they are linked, I need to display the add/view/edit via table.
I also don’t want the user to create more than 1 record.

My question: Is there a way to hide the Table Actions No Print section of a table IF the record count is > 0

Thanks!

Maybe this can help:

TB.render('component_6', function(data) {    
    if (data.records === undefined || data.records.length > 0) {
        document.querySelector("#x_element_page_102_6 .table-actions").style.display = 'none';
    }
});
1 Like

Perfect. Thank you @moe