Search
43891 results 7031-7040
Forum
- 10th May 2013FixedColumns example - jQuery UI themed table - throws error when filteringThanks for such a fast reply, I'll check that build right away :)
- 8th May 2013Table with radio buttons - first row un-checkedGuys, Here is the quick solution to it..... Basically, you need to set the Radio button as checked via JS/JQuery after the DataTable is Applied. Below link is used for Extension of Demo http://datatables.net/forums/discussion/14180 JQuery code $(document).ready(function() { $('#department_permissions_table').dataTable(); } // code to set the value as checked. jQuery("#deptartment_permission[2]").attr('checked', 'checked'); ); JS Code radiobtn = document.getElementById("theid"); radiobtn.checked = true;
- 3rd May 2013Show empty table on startThis worked fine for me: [code] "fnDrawCallback": function( oSettings ) { if($('#vehicles_table_filter input').val() != ''){ $('#vehicles_table tr').css("display",""); } else { $('#vehicles_table tr').css("display","none"); } } [/code] Thanks! Dave
- 29th Apr 2013Ordering Table on ID ColumnThanks for the reply. I cleaned the data and now it is working :)
- 23rd Apr 2013get sorted jquery data table dataAh - you mentioned the data in the title which I way I suggested the _ method. For the nodes use the $ method. Allan
- 15th Apr 2013Retrieve data from table on editor onInitEditCurrently no - Editor only has the ability to edit a single row at a time. Only the first row selected is edited if configured in such a way that the edit button is still active when more than one row is selected. Allan
- 10th Apr 2013Table Tools select_all seems to ignore filter criteriaHow about: [code] { "sExtends": "text", "sButtonText": "Select filtered out", "fnClick": function ( button, config ) { var filterSet = table.$('tr', {filter:'applied'}); return table.$('tr').map( function (index, el) { return $.inArray( el, filterSet ) === -1 ? el : null; } ); } } [/code] It simply gets the currently filtered element set, the full set and calculates the difference. Not particularly optimal due to the inner loop, but it should do the job nicely. Allan
- 8th Apr 2013Thead and Tbody be divided into two table and don't match in widthreferance http://datatables.net/examples/api/tabs_and_scrolling.html in tabs show event, call fnAdjustColumnSizing, have fix it.
- 4th Apr 2013fixed row height in the tableThanks Allan, the [code]white-space: nowrap[/code] fixed my problem.
- 28th Mar 2013filter table on loadOK got it, found the answer here http://stackoverflow.com/questions/8938142/how-to-filter-data-on-page-load-using-jquery-datatables-plugin