Search
10784 results 2571-2580
Forum
- 13th Oct 2014initially i ll show ten entries in data table on button click preview the show all the rows but itbut it is showing 11 th row onwords undifined.........plz help me alan.....
- 17th Sep 2014Pagination is reset on table initialisation5000 rows. But on initial load I am fetching 100 rows and initialising the table. On Next
- 9th Sep 2014Initial Beginning with mysql + ajax + datatablesHi everybody, i want to learn how to use datatables. But everytime i'm starting i'm getting an json error. (table id = example invalid json ....) What have i done: integrate the resources: <!-- link jquery ui resources --> <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" /> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script> <!-- link bootstrap resources --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <!-- link calendar resources --> <link rel="stylesheet" type="text/css" href="../css/tcal.css" /> <script type="text/javascript" src="../js/tcal.js"></script> <!-- link datatables resources --> <script src="http://cdn.datatables.net/1.10.2/js/jquery.dataTables.min.js"></script> <link rel="stylesheet" type="text/css" href="http://cdn.datatables.net/1.10.2/css/jquery.dataTables.css" /> create the mysql table datatables_demo third put code into htmls body Firmenbezeichnung Vorname Nachname Email Telefon Bemerkung Firmenbezeichnung Vorname Nachname Email Telefon Bemerkung <script> $(document).ready(function() { $('#example').dataTable( { "processing": true, "serverSide": true, "ajax": "customer/customer_server_processing_simple.php" } ); } ); </script> adopt server configuration information customer_server_processing_simple.php Getting the error Error. The Framework without data is correctly shown. Also question: do i need this file to work correctly: require( 'ssp.class.php' ); ? First i want to get the simple example running... THX in advance!
- 20th Jun 2014KeyTable 1.10.0 initialisation with optionsdocumentation for KeyTable suggests initializing with options using: var
- 19th May 2014Datatables not initializing on xmlhttpPostI've built a query where there are several forms which pull data using xmlhttppost and then rendering the data in a 'results' page. I suspect the problem is that the table doesn't exist until the query is run. I tinkered with a few examples under server side processing, but to no avail. Basically, my php/sql query runs like this. 1) You select a query form. 2) Enter ID's and hit submit. 3) A onSubmit="xmlhttpPost(string variables assembled here by an ajaxsubmit.js script) pushes the ID's into a .php file, grabs the data 4) Data populates on a results.php page. I think Datatables cannot initialize because either the table doesn't exist as of yet. I've confirmed the ajaxsubmit isn't the culprit, so It's a matter of Datatables knowing where to initialize. Unfortunately, I cannot provide a link since this is a proprietary tool .
- 9th May 2014How to initiate the width of column?Hi guys, When I use datatable, I met a tough issue: where the table show in the first time, the width of column is very narrow, after I click the table again, the table shows normally. Please give me some advice. Thanks in advance.
- 2nd May 2014FixedColumn is not initializingI am using JQuery 2.1.0 and Datatable 1.9.4 and ColumnFilter 1.5.6 and FixedColumn 3.0.1 and TableTools 2.2.0 I am trying freeze first and last column using this new $.fn.dataTable.FixedColumns(oTable1, { leftColumns: 1, rightColumns: 1 }); but it is not working : getting this error : Line: 1244 Error: Object doesn't support this action Except FixedColumn Everything is working, I have initilized Table tools same way using "new". TableTools is working. I doubt about Script setting. Here is my Script and Style settings : <!--@Styles.Render("~/Content/css")--> <link href="@Url.Content("~/Content/redmond/demo_table_jui.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/redmond/jquery-ui-1.10.4.custom.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/redmond/dataTables.fixedColumns.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/TableTools-2.2.0/css/dataTables.tableTools.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/Site_Custom.css")" rel="stylesheet" type="text/css" /> @if (false) { <script src="@Url.Content("~/Scripts/jquery-2.1.0-vsdoc.js")" type="text/javascript"></script> } <script src="@Url.Content("~/Scripts/jquery-2.1.0.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery-ui-1.10.4.min.js")" type="text/javascript"></script> <script type="text/javascript" src="@Url.Content("~/Scripts/DataTables-1.9.4/media/js/jquery.dataTables.min.js")"></script> <script type="text/javascript" src="@Url.Content("~/Scripts/DataTables-1.9.4/media/js/jquery.dataTables.columnFilter.js")"></script> <script type="text/javascript" src="@Url.Content("~/Content/DataTables-1.9.4/media/js/dataTables.fixedColumns.js")"></script> <script type="text/javascript" src="@Url.Content("~/Content/TableTools-2.2.0/js/dataTables.tableTools.js")"></script> <script src="@Url.Content("~/Scripts/json2.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Content/Script_Custom.js")" type="text/javascript"></script> @Scripts.Render("~/bundles/modernizr") I might be missing something, Please let me know what I am doing wrong? Thank you.
- 10th Mar 2014How to add options in ColumnFilterWidgets after initializing the pluginHi there: I have the following code in a file called initializing_jquery_datatables.js: [code] $(document).ready(function() { $('.table').dataTable( { "sDom": "<'row'W<'row'<'col-md-6'l><'col-md-6'f>r>t<'row'<'col-md-6'i><'col-md-6'p>>T", "sPaginationType": "bootstrap", "bDestroy": false ... }); [/code] I filter and exclude some columns in another js file like this: [code] $.extend( true, $.fn.dataTable.defaults, { "oColumnFilterWidgets": { "aiExclude": [ 10 ] } }); [/code] And doesn't work
- 6th Mar 2014Scroller and initial scroll positionHi, I have the following code: https://gist.github.com/rosieks/9396042 and ufortunately it cause two request to "server". Is there any way to respect displayStart by scroller plugin or any other way do avoid first request?
- 12th Apr 2013Problem initializing dataTableHello, i've been trying to use datatable but without any success so far. I get the following error: TypeError: $(...).dataTable is not a function $('#index-table').dataTable(); Post (line 569) fire(data=[Document Post, [function()]])jquery-1.9.1.js (line 1037) fireWith(context=Document Post, args=[Document Post, [function()]])jquery-1.9.1.js (line 1148) ready(wait=undefined)jquery-1.9.1.js (line 433) completed(event=DOMContentLoaded )jquery-1.9.1.js (line 103) I'm working on asp.net mvc, jQuery 1.9.1 and dataTables 1.9.4 the page is the following (minus content and Razor code): [code] test test Status @Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/jqueryui") @Scripts.Render("~/bundles/datatable") $(document).ready(function () { $('#index-table').dataTable(); }); [/code] First, I tried to install the plugin manually and I found that the nuget jquery package (1.7.x) was overriding the import I was using from a more recent version. I updated the nuget packages and installed this plugin from the nuget repository also, and that part was resolved but I still get this error. I imported jqueryui just in case (since I saw some posts mentioning it and thought it was required), but it didn't fix anything Can someone help me? I know that it must be something silly but it escapes me right now Thanks in advance