src/main/webapp/js/table.js
/**
         * Loads the content for the specified table element via an Ajax call.
         */
Loads the content for the specified table element via an Ajax call.
Loads the content for the specified table element via an Ajax call .
function loadTableData(table, dataTable) {
            if (!table[0].hasAttribute('isLoaded')) {
                table.attr('isLoaded', 'true');
                tableDataProxy.getTableRows(table.attr('id'), function (t) {
                    (function () {
                        const model = JSON.parse(t.responseObject());
                        dataTable.rows.add(model).draw();
                    })();
                });
            }
        }
function loadTableData ( table , dataTable ) { if ( ! table [ 0 ] . hasAttribute ( 'isLoaded' ) ) { table . attr ( 'isLoaded' , 'true' ) ; tableDataProxy . getTableRows ( table . attr ( 'id' ) , function ( t ) { ( function ( ) { const model = JSON . parse ( t . responseObject ( ) ) ; dataTable . rows . add ( model ) . draw ( ) ; } ) ( ) ; } ) ; } }
Loads the content for the specified table element via an Ajax call.
Loads the content for the specified table element via an Ajax call .