Search
23433 results 2901-2910
Forum
- 20th Jul 2012Disable sorting classes on specific columnsCan you not just modify the last code block there to be: [code] .dataTables_wrapper tr:hover td{ background-color: #d4e3fc !important; color: #000; } [/code] You might need to increase the priority of your first code block as well: [code] .dataTables_wrapper tr td.wo_status__invoiced { background-color: #074BA7 !important; color: #FFFFFF !important; } [/code] Allan
- 9th Jul 2012Highlight Fixed row columnsI also got same problem, pls replay me if anybody got solution Thanks in Advance
- 7th Jul 2012is there any functionality provided by datatable to give total of all columns at lastNo internally - however it is trivial with this plug-in http://datatables.net/plug-ins/api#fnGetColumnData . It gives you an array of the data for the column - just sum it in a look. Long term, I will be looking to create a plug-in for this. Allan
- 30th May 2012Columns Condense TogetherThis didn't help the issue unfortunately. I did try this same exact base on another table of mine and it worked perfectly. So what I am currently noticing is the issue appears to be brought on by the fact that I have a "Tabbed" display for the table giving problems at the moment. The table in question is initially in a hidden tab, when you click that tab the content of the tab is shown. Not sure exactly how its hidden (visibility:hidden or display:none) Ill assume display:none. I inherited this project so I am still familiarizing myself with it. I am swapping out a custom table solution they made themselves predating datatables as its breaking often due to new browsers tweaking the webkit stuff. Anyway long boring story short.. Tables are generated on the fly via an AJAX call that gets the data. The tables are then created in the same manor. All works well except apparently if the table is in a hidden element and only is specific to that thead stuff at the moment. Dunno if any of this helps or not in trying to help me assess the issue, but I hope it does.
- 24th May 2012Horizantal Scrollbar appears. But columns not scrollingI was trying to add table with fixed position inside main datatable cell and there were some generic styles defined. These two were causing the issue. This is solved now. Regards, Ravi
- 9th May 2012ColReorder/JQuery error when dragging columnsIf I remove cluetip (jquery.cluetip.js, jquery.dimensions.js and jquery.hoverIntent.js), then the error changes to: e is null file:///D:/Client%20Work/SeatEngine/html/WillCallList_files/colreorder.js Line 24 Line 24 is: _fnMouseListener:function(a,c){var d=this;f(c).bind("mousedown.ColReorder",function(a){d._fnMouseDown.call(d,a,c);return!1})},_fnMouseDown:function(a,c){var d=this,b=this.s.dt.aoColumns,e="TH"==a.target.nodeName?a.target:f(a.target).parents("TH")[0],e=f(e).offset();this.s.mouse.startX=a.pageX;this.s.mouse.startY=a.pageY;this.s.mouse.offsetX=a.pageX-e.left;this.s.mouse.offsetY=a.pageY-e.top;this.s.mouse.target=c;this.s.mouse.targetIndex=f("th",c.parentNode).index(c);this.s.mouse.fromIndex=this.s.dt.oInstance.oApi._fnVisibleToColumnIndex(this.s.dt, Thanks Andy
- 1st May 2012Columns resizing on filter, sort, updateThanks again Allan, I can confirm that the suggestion does work without a hitch. I actually find the table refreshes much better with a fixed wrapper. By specifying the width of a wrapper and setting the table to 100%, the resizing column problem is resolved. I have to tweak my paginate CSS since my table is 6000px wide. [code].dataTables_paginate, #basftable_paginate { float:left !important; position:fixed; margin:10px; right:0; }[/code] This helps keep the pagination options available to the viewer. Otherwise, it's way over to the right.
- 20th Apr 2012more then 25 columns in server side 404 Not FoundYes that is an option - although I think just setting DataTables to use POST rather than GET is probably more immediately accessible. fnServerParams could be used to rewrite the variables if you do want to do that. Allan
- 17th Apr 2012CSS is lost after destroy and dynamic columns questionHi Allan, I solve my problem and I described the solution here : http://www.datatables.net/forums/discussion/9516/destroy-the-datatable-in-order-to-recreate-tabs-use#Item_4 Thanks Bastien
- 6th Apr 2012Sorting columns with date(Format : MM/dd/yyyy) with datatables not workingYou mistake in wrong valulues. Try this var x = usDatea[2]365 + usDatea[0]30 + usDatea[1]; var y = usDatea[2]365 + usDatea[0]30 + usDatea[1];