Compute column Total amount in a new row using dataset
Compute column amount in a new row using dataset My data is from a dataset and not api, is it possible for me to compute a column sub total E.g if my data set is something like this $data .= "['" ....
View ArticlelengthMenu not working with displayLength
Hello, Using this Options : "lengthMenu": [[10, 20, 25, 50, -1], [10, 20, 25, 50, "All"]], "displayLength": 20, When i change the page the datatables display all row, but i need 20 from the...
View ArticleMultiple lines per row but search as one
Hi, I have a situation where I need to show two or more rows as a unit of data. For example, I might want to show two products that can go together to make a unit. Suppose I was looking for things that...
View Articletable.row.add = TypeError: obj is undefined
Hello, Hoping someone can help make sense of this. I'm doing a simple row.add that fails with the Firebug message "TypeError: obj is undefined". It looks to possibly be the proxy complaining when...
View ArticleMore than one table on the same page
Can I have more than one Datatable on the same page, with different "id"? I mean: $(document).ready(function() { $('#example').dataTable(); $('#example2').dataTable(); $('#example3').dataTable(); } );
View ArticleApplying any filter overwrites the content of the first cell
Applying any filter overwrites the content of the first (left-most) cell in the first (top) row with the value from the first cell in the last visible row. This is the demo:...
View ArticleSpecify column type on Excel output/leading zeros being removed
Is it possible to specify the column type (i.e. Text, General, Number) when exporting to Excel or CSV? I have a column of numbers and the leading zeros are being removed. If there is not way to specify...
View ArticleStart row calculated incorrectly when deleting row from last page
This bug can be found on the example provided for row selection and deletion: http://www.datatables.net/examples/api/select_single_row.html Steps to reproduce: 1. Navigate to...
View ArticleRow index and sorting
I'm using the TableTools extension for it's row selection functions, and want the up and down arrow keys to allow moving the selected row up and down. I have this working by keeping track of the index...
View ArticleHow use dataTable for table created with javascript?
I’m trying to use dataTable Plugin for table created with javascript, but with no success. I would appreciate any help to find out where is my mistakes. Here is the code = = = = = @{ ViewBag.Title =...
View ArticleMultiple custom range searches
I need to display 2 tables (which pull data from a common google spreadsheet). I want custom filtering on both of them and I used the method suggested here :...
View ArticleUnable to Update Row Index 0
I am running into a bit of a weird issue. I am trying to update a specific cell value with the results of an AJAX request. When the Request is completed successfully the following occurs - // get API...
View ArticleHow to specify date format while exporting data to csv?
Hi all, I am using TableTools with serverside processing, one of colunm in table contains datetime(3rd September 02:28:38). when i export to csv the date format remain same. i want taht when i export...
View ArticleData Renderer
I am using function(data, type, full) for rendering. My data is String "0100001000", but function is converting it to a number but I want to keep as a Sting as its 10 digits id. It works fine for...
View ArticleFiltered rows export to pdf
Is there any way that I filter my table then filtered rows export in to pdf? All what PDF button is doing is that it's export all data in table. Sorry for my bad English. This is really urgent. Thanks
View ArticleScroll for non fixed columns
Am using fixed columns for first five columns, for that am fixedcolumn.js (3.0) and datatable(1.10) . In my table i have a horizontal scroll bar also and it is taking entire columns. i need that scroll...
View ArticleAdd, Edit et Delete with datatabes 1.9.2
So, after to lose so many time to solve my bug, i decide to share all my work with anyone who want to work like me. 1) Add new row in existing tab: (after ajax request, put data in tab) /* You need to...
View Articlehow to form dataTable with object of array of objects
hera my sample json: { "sites": [ { "status": "active", "id": 1, "name": "Default Site", "description": "Default Site", "customfields": [ { "value": "", "options": "Value1,Value2", "fieldid": 3,...
View ArticleControling number of records returning from database but save number of pages...
Hi, I'm using jQuery DataTables and it's working but my problem is that the partition of records is on the client side so if the client have 1 million records it will be too slow, I had the idea to...
View Article