Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.fn.fixCols = function (){
- $(this).css('table-layout','auto');
- $(this).find('td,th').css({
- 'width':'1%',
- 'white-space': 'nowrap'
- });
- $(this).find('td:last-child,th:last-child').width('auto');
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement