Search
10143 results 581-590
Forum
- 29th Apr 2013Default Filter is wrong?Thanks, that makes it work as expexcted now :)
- 26th Mar 2013How to display data in two rows instead of the default one row using JQuery Datatables?http://stackoverflow.com/questions/15631012/how-to-display-data-in-two-rows-instead-of-the-default-one-row-using-jquery-data This is the stackoverflow thread please help
- 15th Mar 2013How to disable default row shading?Yes, just define your own classes. See http://www.datatables.net/styling/ids_classes for more information on what classes you need to create. You can also look at this page - http://www.datatables.net/styling/custom_classes - and look at the Striping section. It specifies it pretty clearly on what you need to do.
- 2nd Nov 2012Issue in applying the default style for datatables gridjquery.dataTables.css is your best bet. See also http://datatables.net/blog/Getting_started_with_DataTables%3A_First_steps Allan
- 29th Jun 2012Need to add a where clause by default before page loadYes, you can echo the $sQuery variable which will show you the entire built query and find the problem. To view the server response use a tool like Firebug in Firefox or Chrome. From there you can try to run the query built directly in SQL and find the problem.
- 4th Jun 2012Showing row details as default in dataTablesAs I was trying to resolve this on my own, I come up using the fnOpen concept, thus I used the following code to maintain the td class (.details) parents TR class' same as the preceding TR class using this code: [code] "fnDrawCallback": function( oSettings ) { var theTR; var tRows = oSettings.fnRecordsTotal(); var detailsTR; if(tRows>0){ for(var i=0; i<tRows; i++){ theTR = $('#tblhist tbody td p').parents('tr')[i]; //oTable.fnOpen(theTR, fnFormatDetails(theTR), 'details'); //detailsTR = $('.details').parents('tr')[i]; if(typeof oTable!='undefined'){ $('.details').parents('tr')[i].setAttribute('class', theTR.className); //alert('No. of ROWS: '+tRows +' details: '+$('.details').parents('tr')[i].className); } } } }, [/code] Thank you Allan for your inputs.
- 15th Mar 2012Empty datatable default row does not span all columnsYes. Every column has a unique header cell. All other features work correctly. Will try out debug.datatables and let you know the results.
- 2nd Jan 2012Set Default Sort Column Without HiglightThanks, just making sure.
- 24th Oct 2011"Flexibility" - Using a default datatable then extenting it...I have the same question with fnUpdate(). If I try to update the second table on the page fnUpdate() or fnGetPosition() will not work.
- 5th Oct 2011Change default graphics of PDF Buttonits all in css. check classes that start with DTTT_