jquery Programming Glossary: sscrolly
DataTables header alignment issue http://stackoverflow.com/questions/13178039/datatables-header-alignment-issue Problem When using the sScrollX sScrollXInner and or sScrollY to achieve a fixed header table with it's inner content scrolling.. to the misaligned headers was taking out sScrollX and sScrollY but this can't be counted as a solution as you lose the fixed.. ' H CTrf t F lip ' aLengthMenu 25 50 100 1 25 50 100 All sScrollY 500px sScrollX 100 sScrollXInner 110 fnInitComplete function..
How to dynamically change jQuery Datatables height http://stackoverflow.com/questions/7634066/how-to-dynamically-change-jquery-datatables-height 55 100 var oTable '#reqAllRequestsTable' .dataTable sScrollY calcDataTableHeight window .resize function var oSettings oTable.fnSettings..
Datatables: Change height of table not working http://stackoverflow.com/questions/7678345/datatables-change-height-of-table-not-working using a Jquery Datatables table with bPaginate false and sScrollY is some fixed height. Ultimately I want the table to resize.. table.fnDraw false '#example' .dataTable sScrollY 350px bPaginate false bJQueryUI true Console output is as expected.. .css 'height' window .height 200 '#example' .dataTable sScrollY window .height 200 bPaginate false bJQueryUI true This example..
DataTables header alignment issue http://stackoverflow.com/questions/13178039/datatables-header-alignment-issue header alignment issue Problem When using the sScrollX sScrollXInner and or sScrollY to achieve a fixed header table with it's inner content scrolling the headers of the table go out of alignment with the.. 100 get rid of all widths The only solution that I found to the misaligned headers was taking out sScrollX and sScrollY but this can't be counted as a solution as you lose the fixed header inner content scrolling functionality. So sadly it's.. bProcessing true bRetrieve true bJQueryUI true sDom 't' sDom ' H CTrf t F lip ' aLengthMenu 25 50 100 1 25 50 100 All sScrollY 500px sScrollX 100 sScrollXInner 110 fnInitComplete function this.css visibility visible var tableId 'PeopleIndexTable'..
How to dynamically change jQuery Datatables height http://stackoverflow.com/questions/7634066/how-to-dynamically-change-jquery-datatables-height code var calcDataTableHeight function return window .height 55 100 var oTable '#reqAllRequestsTable' .dataTable sScrollY calcDataTableHeight window .resize function var oSettings oTable.fnSettings oSettings.oScroll.sY calcDataTableHeight oTable.fnDraw..
Datatables: Change height of table not working http://stackoverflow.com/questions/7678345/datatables-change-height-of-table-not-working Change height of table not working I am using a Jquery Datatables table with bPaginate false and sScrollY is some fixed height. Ultimately I want the table to resize on the window.resize event. To get this to work I have built.. settings.oScroll.sY '150px' console.log 'new ' settings.oScroll.sY table.fnDraw false '#example' .dataTable sScrollY 350px bPaginate false bJQueryUI true Console output is as expected Handler for .click called. old 350px new 150px but the.. function console.log window .height '.dataTables_scrollBody' .css 'height' window .height 200 '#example' .dataTable sScrollY window .height 200 bPaginate false bJQueryUI true This example lets the table resize smoothly with the window. Live example..
|