Search
23531 results 2911-2920
Forum
- 14th Sep 2012IE9 - columns are shrunk, head is fine but body is not.Can you link to the page please so we can actually see what is happening. If you can't share a link then you can use http://live.datatables.net to construct an example that shows the problem. Allan
- 11th Sep 2012Changing row color and comparing two columns with datatablesFor #1 you can try something like this: [code]"fnCreatedRow": function( nRow, aData, iDataIndex ) { if ( aData[4] == "something" ) { $(nRow).addClass('green-row'); } }[/code]
- 4th Sep 2012Bug? Fixed Columns can't sort (happened on offical example)Please see our original discussion here: http://datatables.net/forums/discussion/11489/fixed-column-collide-with-bjqueryui-#Item_6 . Allan
- 17th Aug 2012How to search in the columns from one search box.Looks like you can use the fnFilter() API to search only a specific column. Otherwise the default sorting method DataTables uses is global. It will/should search each row/column. http://datatables.net/examples/api/multi_filter.html
- 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