I have a need to dynamically alter the main data table of a grid app.
I find this is nested 2 levels down from the uppermost table of the grid app and has no id of its own i.e. main-table-grid > table > table (the outermost table has an id of ‘main-table-grid’.)
Just as a first step to testing it will even work, I’m trying the following in AppInit:
echo “<script>
$(document).ready(function() {
console.log( “ready!” );
$(‘main-table-grid’).hide();
});
</script>”;
Result: table does not get hidden, console log shows ‘ready!’ yet no error.
This is not an HTML/CSS forum but I’d appreciate help to know the right element I should be grabbing.