Search
19115 results 14111-14120
Forum
- 18th Feb 2015Is there a more graceful way to enable/disable fields based on create/edit actions?Ultimately perhaps Editor itself should have something like the dependent() method... (thinking on the keyboard... :-) ). That sounds like a very good idea. Chris
- 26th Sep 2014Error when attempting to destroy after child row is createdThanks, Allan. I'll contact you privately when I have something I can share.
- 5th Aug 2014DataTables + Bootstrap 3 enabling horizontal scrolling creates a bugUp. Hello guys, I've the same problem, my table is included in a bootstrap 3 modal, the headers are fixed, the vertical and horizontals scrolls work, but headers and data columns are not aligned at all : when I scroll from left to right, the last colum may have the cell value of 3 columns to the left... My js : $('.fixed_header').DataTable({ "paging":false, "scrollY": 400, "scrollX": true, "info": false, "ordering": false, "searching": false }); Link : http://image.noelshack.com/fichiers/2014/32/1407249434-bug-datatables.jpg You see at the top right the last column, while you can still use the horizontal scroll at the bottom.. The bottom scroll should be only left-scrollable, but as nothing is aligned, the last 3 columns data can be in the last column by right-scrolling.. I use the latest version of datatables and bootstrap. Sorry for my bad English. [edit] : When using ColVis, unchecking a column, and checking it again, everything gets aligned. O.O. I checked the page with firefug. When i did not use ColVis yet, all headers have a width of 0 px; When i uncheck and check a column in ColVis, each header has a width > 0px. Is there a way to simulate the calculation of each element ?
- 29th May 2014Scroll X creates additional blank table heads with sort arrows in themThat is bizarre. I've just poked and prodded it for 15 minutes and simply can't get the height to be 0... Everything is saying that it should be height 0, but there is something stopping it from being so, can I can't see what. I'll need to come back to this one when I've got a bit more time to spend on it (can't promise when that will be though). Allan
- 19th Mar 2014Use of sScrollX creates duplicate table header id's, causing accessibility WCAG 2.0 A to fail.Which version of DataTables are you using? The accessibility with ARIA should be significantly improved in 1.10. However, I'm not a screenreader user myself, so feedback on this topic is very warmly welcomed! Allan
- 13th Feb 2014Keyboard Navigation - have to tab through the empty created inside 'dataTables_scrollBody'Thanks Allan :)
- 28th Jan 2014sScrollCollapse creates a double Head, and Processing bannerhere is a fiddle: http://live.datatables.net/ObIF/4/edit
- 3rd Jan 2014New table is being created when I try to reload the existing tableAllan, I forgot, in the same JS file, I'm getting this error: There was an error because nTds{i}.className is undefined... Line 4418 The real problam is: Type of Error: TypeError - Cannot read property 'className' of undefined Here's the code that starts around line 4396: [code] for (i = 0, iLen = nTds.length; i < iLen; i++) { //FIXME: iLen doesn't get defined...towards the end if(iLen !== "undefined") { /* Determine which column we're looking at */ iTargetCol = i % iColumns; /* What is the full list of classes now */ //Added this for Hidden DRAWER rows... //PNB 122813 -- If we're using accordion tables this fixes the problem try { if (nTds[i].className !== "hiddenRow" && nTds[i].className !== "undefined") { sCurrentClass = nTds[i].className; /* What sorting class should be applied? */ sNewClass = asClasses[iTargetCol]; /* What would the new full list be if we did a replacement? */ sTmpClass = sCurrentClass.replace(reClass, sNewClass); if (sTmpClass != sCurrentClass) { /* We changed something */ nTds[i].className = $.trim(sTmpClass); } else if (sNewClass.length > 0 && sCurrentClass.indexOf(sNewClass) == -1) { /* We need to add a class */ nTds[i].className = sCurrentClass + " " + sNewClass; } } if(nTds[i].className !== "undefined") { nTds[i].className = " " + sNewClass; } else { nTds[i].className = " colspacedDead" } } catch (e) { if (e) { console.log("There was an error because nTds{i}.className is undefined... Line 4418\nThe real problam is:\n\ Type of Error: " + e.name + " - " + e.message); } } } [/code] Thanks
- 15th Dec 2013Add Event Listeners to newly created records with button groupsSorted
- 7th Sep 2013Basic usage of table - Table is created on the flyPlease link to a test case as noted in the forum rules. Allan