Search
18504 results 2971-2980
Forum
- 31st Dec 2010Off-site JSON AjaxI'm working on a project for a newspaper and, being print media, the ancient CMS is causing problems. I'm trying to get a set of data to appear in a table. The catch is, I don't have access to anything required for server-side processing, and I can only put a txt file of JSON on a file server with a different domain than the sites involved which trips up browser security. My question is, are there any workarounds to get this (http://extras.insidebayarea.com/news/salaries/status/ajaxRequestStatus.html) working in this (http://www.contracostatimes.com/ci_16976082) or am I boned?
- 28th Oct 2010Redraw table after ajax postAwesome plug-in, but I just don't seem to get to redraw my table after I load it up from the server. What I have is a table on which I use datatables [code] $(document).ready(function() { $("#partnerdashboardPlayer table").dataTable({ "aaSorting": [[6, "desc"]], "bProcessing": true, "iDisplayLength": 50, "sPaginationType": "full_numbers", "aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]] }); }); [/code] When I get data with an ajax-post data from server, I would like to rebind/redraw my table with the new data to be a datatable. How can I rebind my new table as a datatable (table has the same id) [code] // Get partial view (html) $("#franchiseDashboardStatistics").load('/Affiliation/Referrer #ReferrerStatistics', values); // Redraw the table (with the same settings) $("#partnerdashboardPlayer table").dataTable({ "aaSorting": [[6, "desc"]], "bProcessing": true, "iDisplayLength": 50, "sPaginationType": "full_numbers", "aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]] }); }); [/code] I guess this is not magic, but I just can't seem to get it work...I've tried fnDraw, but still stuck..and puzzled. Regards Jatt
- 2nd Aug 2010Dinamic created tables with ajax, set it to datatablesHi, i have a layout, with 3 zones, on some zones i am adding TABLES throught jQuery .load() method.(not adding it with js, calling to a php who dinamically creates it). On the .load() callback i am calling jQuery('.datatables').dataTable(); but it says that is not possible to re-initialize, because i already called it on the first load so it does not work when adding new tables. What's the way to do it? I was looking for a refresh datatable, etc, but i can't make it work.
- 10th Jun 2010How do i use Database with ASP.NET or AJAXHello All, In my application i am reading some XML file into Dataset from an asp.net page, then trying to bind that to datatable, but not able to do it. Here my code in WebForm4.aspx codebehind [code] protected void Page_Load(object sender, EventArgs e) { Response.Clear(); Response.ContentType = "text/xml"; FileStream fs = new FileStream(@"C:\Ninad\xmlFeeds\Sample1.xml", FileMode.Open); DataSet ds = new DataSet(); ds.ReadXml(fs); Response.Write(ds.GetXml()); Response.End(); } [/code] Now on WebForm3.aspx i have a datatable which i want to fill with data coming from WebForm4.aspx, heres the code in WebForm3.aspx [code] $(document).ready(function(){ $('#demo').html(''); $('#example').dataTable({ "bProcessing": true, "bServerSide": true, "sAjaxSource": "../WebForm4.aspx" }); //End of dataTable }); //End of dataTable </div> </form> [/code] How do i bind the datafrom WebFor4.aspx to the datatable in WebForm3.aspx?
- 19th Mar 2010State Save, Server Side Ajax Tables, and Table Tools - Cookie problem.Has anyone else using this configuration come across a problem where you goto the print page, then hit the escape button to go back, and error is caused where you lose pagination. If you delete the cookie used to store the state save information, then it will be fixed temporarily, until you try and do that same set of steps again. Here is the actually Cookie itself. [code] {"iStart": 150,"iEnd": 75,"iLength": -1,"sFilter": "","sFilterEsc": true,"aaSorting": [ [0,'asc']],"aaSearchCols": [ ['',true],['',true],['',true],['',true],['',true],['',true],['',true],['',true],['',true],['',true],['',true],['',true]],"abVisCols": [ true,true,true,true,true,true,true,true,true,true,true,true]} [/code] Could the problem possibly be iLength = -1?
- 6th Mar 2010AJAX -> PHP -> HTML -> oTable not definedThink I needed more coffee :D
- 26th Aug 2026DataTables 3.0.2 Lost XmlHttpRequest HeadersDescription of problem: My ajax data sources stopped working
- 14th Aug 2026ColumnControl: using the searchList for entries that include commascolumnControl section of an Ajax response - its returned on
- 8th Aug 2026Best Practices for Improving DataTables Performance with Large Datasetspreferred approaches for optimizing Ajax requests?
- 7th Aug 2026Infinite redraw loop with DataTables 3+ ColumnControl server-sideDataTables continuously re-triggers the Ajax call (the draw count