function renderUsersTable(container){
            // console.log('renderUsersTable');
            var $container = container ? $$(container) : $(userTableContainer);
            var _usersTable;
            if ($container.length) {
                $container.html('loading...');
                // setTimeout(function(){
                    _usersTable = XNAT.spawner.spawn({
                        usersTable: spawnUsersTable()
                    });
                    _usersTable.render($container.empty(), 200, showUsersTable);
                // }, 200);
                // return _usersTable;
            }
        }
// render or update the users table
render or update the users table
render or update the users table
function renderUsersTable(container){
            var $container = container ? $$(container) : $(userTableContainer);
            var _usersTable;
            if ($container.length) {
                $container.html('loading...');
                    _usersTable = XNAT.spawner.spawn({
                        usersTable: spawnUsersTable()
                    });
                    _usersTable.render($container.empty(), 200, showUsersTable);
            }
        }
function renderUsersTable ( container ) { var $container = container ? $$ ( container ) : $ ( userTableContainer ) ; var _usersTable ; if ( $container . length ) { $container . html ( 'loading...' ) ; _usersTable = XNAT . spawner . spawn ( { usersTable : spawnUsersTable ( ) } ) ; _usersTable . render ( $container . empty ( ) , 200 , showUsersTable ) ; } }
render or update the users table
render or update the users table
// console.log('renderUsersTable'); // setTimeout(function(){ // }, 200); // return _usersTable;