Search
23531 results 3031-3040
Forum
- 9th Apr 2015:Undefined index: columns in ssp.class.php and Undefined index draw in ssp.class.phpI am receiving these two errors after trying to implement a test server-side page on my local webserver. I have an unmodified ssp.class.php straight off of the github (except for commented out $file test block). I have also modified my server_side.php simple() to POST instead of GET as well as modified my datatables ajax call to include "type": "POST" I had previously modified the ssp.class.php to set the query to UTF8 as per google but this did not fix anything. the first line of my JSON return is like so: {"draw":0,"recordsTotal":1000,"recordsFiltered":1000,"data":[ So I know that draw is atleast being set somewhere. I'm kind of at a loss since I figured this simple version of the server side part of datatables would work out the box after the minor changes you are instructed to make. Any ideas would be appreciated, just needed to be pointed in the right direction. I really don't want to switch to something else as I have used datatables for smaller tables in the past and I love it. My table for this current project is 6k rows+ so it requires server side otherwise it slows to a crawl, so I have never worked with this before and am in my infancy knowledge wise. Thanks in advance
- 21st Mar 2015Sorting the column based on Min value (2 Columns)When we want to sort based on Age ,as said in the url "https://datatables.net/examples/plug-ins/range_filtering.html" we can use but at the same time i want to get all the Salary which is above $10,000. Which means i want to sort the 2 or more column using the min value.
- 15th Mar 2015ColReorder & FixedColumns integration , when reorder with fixed columns, column name does not updateAs seen in this example http://datatables.net/release-datatables/extensions/ColReorder/examples/fixedcolumns.html, when reorder First name and Salary for example, Column names remains "First name" for salary column. How to overwhelm this bug?
- 3rd Mar 2015Fixed Columns + ColVis broken (even example on this site)So if you go to http://datatables.net/release-datatables/extensions/FixedColumns/examples/colvis.html and hide the first column you'll notice Last Name is populated with data from the Position column. I'm having the exact same issue in my own project. Any ideas on how to fix it?
- 26th Feb 2015Fixed columns issues on iphone/ipadHave issue with FixedColumns on iphone/ipad. When scroll to side fix column show up under the fix column (duplicated). On desktop iphone emulator it works good, only have problems with actual iphone device. Here is print screen: https://www.dropbox.com/s/mh89dt569acl9hp/photo.PNG
- 20th Feb 2015Static column widths on specific columns only.I find myself more and more needing to have a column with a static width for an icon or some-other indicator. But really like to use the autowidth functionality in Datatables for dealing with displaying the dataset in the best way for the user. Is there a method in DataTables for doing this already that I am just missing? If there isn't I'd like to throw it out there as a feature request.
- 18th Feb 2015Control Width of columns in bootstrap 3Hello, Can anyone please let me know how can we control the width of column in bootstrap 3. Thanks in advance...
- 3rd Feb 2015server side, new api, stateSave, colReorder and column's order in the xhr requestHello, I'm using DT 1.10.4, the new api and server side processing. I've switch to yadcf instead of ColReorder. I'm facing a problem with yadcf and after debugging, i've noticed that the xhr request send was different when you reload the html page than the one send when you use the DT pagination system. Here is my test case: http://yadcf.johndegey.org/ If you switch field2 and field3, then reload the page, the xhr request will be columns[0][data] field1 columns[0][name] field1 columns[0][orderable] true columns[0][search][regex] false columns[0][search][value] columns[0][searchable] true columns[1][data] field2 columns[1][name] field2 columns[1][orderable] true columns[1][search][regex] false columns[1][search][value] columns[1][searchable] true columns[2][data] field3 columns[2][name] field3 columns[2][orderable] true columns[2][search][regex] false columns[2][search][value] columns[2][searchable] true If you just go to page 2 with the pagination, it looks like columns[0][data] field1 columns[0][name] field1 columns[0][orderable] true columns[0][search][regex] false columns[0][search][value] columns[0][searchable] true columns[1][data] field3 columns[1][name] field3 columns[1][orderable] true columns[1][search][regex] false columns[1][search][value] columns[1][searchable] true columns[2][data] field2 columns[2][name] field2 columns[2][orderable] true columns[2][search][regex] false columns[2][search][value] columns[2][searchable] true Notice the column 1 is now field3 and column 2 is field2. Is this an expected behavior ? Shouldn't the 2 request be the same ? Here is the discussion we have on github https://github.com/vedmack/yadcf/issues/151 thanks for help John
- 29th Jan 2015Avoid columns sort in Datatables while loading pageHi every one I am using Datatables and I load data rows from a sql table with a specific sort order, how can tell to Datatables grid don't apply any sort yourself?, I tried many examples with parameter ons the ready function without success, Thank You in advance for reply This is function ready code ( jquery.dataTables.js version 1.9.3) $(document).ready(function() { $('#example').dataTable( { "bStateSave": true, "oLanguage": { "sProcessing": "Caricamento...", "sLengthMenu": "Mostra MENU Messaggi per pagina", "sZeroRecords": "Nessun Messaggio trovato", "sInfo": "Visualizzazione da START a END - di TOTAL Messaggi", "sInfoEmpty": "Visualizzazione dal record 0 al 0 - Totale 0 Messaggi totali", "sInfoFiltered": "(Filtrato da un totale di MAX Contatto)", "sInfoPostFix": "", "sSearch": "Cerca:", "sUrl": "", "oPaginate": { "sFirst": "Inizio", "sPrevious": "Precedente", "sNext": "Successivo", "sLast": "Fine" } } } ); } );
- 26th Jan 2015taking first step to try cursor between columns - nothingGreetings - Di have DataTables1.10.2, downloaded and added /js/ColReorderWithResize.js, initialization code inserted [with #example], NOW WHAT? i get no response from my cursor on the table. anyone have code i can learn from for actually hooking this up into my own code base?