table: added ability to pass callback 'tr' param for tr attributes