Search
10712 results 2571-2580
Forum
- 12th Jun 2012Changing the background-color css property of alternating rows in the initial configI'm trying to overwrite the default purple color of alternating rows with a silver. I changed the bgcolor of tr:odd, but that doesn't do the trick. Anyone know how this can be done?
- 16th Nov 2011empty row after initial loading of table on an empty databasehi, im a noob on datatable. im just having a problem with the table setup. there appears an empty row at the table though the related db is empty resulting to the wrong value in the number of entries. ( Showing 1 of 1 of 1 entries despite the fact that the table is empty. hope someone can clear this out for me. thanks!
- 6th Sep 2011Another solution to the aasort initialisation issues (Firefox creating extra TextNodes)from ajax prior to initialising the DataTables plugin (yeah,
- 1st Sep 2011Turn of initial sorting?to turn it off initially because it is messing
- 12th Aug 2011[SOLVED] Initial hidden columns with ColVis?Hi, I'm using ColVis and want some columns hidden when the table is first loaded. Is this possible? I tried using aoColumnDefs and bVisible but that doesn't seem to have any effect. TIA. Craig Update: I was able to use fnSetColumnVis to solve the problem, although I'm still curious as to why aoColumnDefs didn't work. If anyone is reading this trying to solve the same problem, fnSetColumnVis is documented here: http://datatables.net/release-datatables/examples/api/show_hide.html
- 17th Mar 2011Fixed (Initial) SortingHi All, I am trying to generate a table where the first column has all of the column headers, essentially a horizontal table. I have the output sorted out, the only issue I am having is keeping the ordering of the rows. I have created a custom sort type to simply return 0 and assigned it to a class name (like so): [code] jQuery.fn.dataTableExt.oSort['initial-order-asc'] = function(a,b) { return 0; }; jQuery.fn.dataTableExt.oSort['initial-order-desc'] = function(a,b) { return 0; }; "aoColumnDefs" : [ { "sType" : "initial-order", "aTargets" : [ "dataTables_initialOrder" ] } ] [/code] I went by the assumption that returning 0 will leave it be. I have made it a fixed column: [code] "aaSortingFixed" : [[ 0, 'asc' ]] [/code] Also adding the class to the element. To begin with, it works fine. Sorting on the first column doesn't change the order of the "headers". The issue arises when sorting by other columns, it seems to ignore the fact that it is supposed to be fixed and messes up the first column. Any help is greatly appreciated Thanks sacko
- 6th Jul 2010How do you make initial view empty with no rows?I want to do two things with the wp-table-reloaded plugin for WordPress: Start with no rows appearing until something is searched for Only search one of the columns. I found some info in your documentation for #2 above, but I'm not quite sure what to replace [code]#example[/code] with or where to put the example code.
- 29th Jun 2010Initialising table with sAjaxSource erroris re-loaded whilst the initial load is still in
- 23rd Jun 2025Event when DT is really ready?know we can use initComplete or $table.ready() but those
- 26th Jun 2025columnDefs how to target _all except one target without naming every indexcolumns.className. You can use initComplete to remove the undesired