Questions tagged [dynatable]

HTML5+JSON interactive table plugin.

Dynatable is a funner, semantic, interactive table plugin using jQuery, HTML5, and JSON. And it's not just for tables.

87 questions
1
vote
1 answer

Dynatable json data with spaces

I'm attempting to write data using dyntable to an html table. One of the headers is called Week of year. In the JSON file, the name is also Week of year (with the spaces). When passing the json to dynatable: $('#week_table').dynatable({ dataset:…
DataSwede
  • 5,251
  • 10
  • 40
  • 66
1
vote
0 answers

How can I set native query results to dynatable

I want to set my native query results to http://www.dynatable.com/ directly but this library require me to use json like the following [ { "band": "Weezer", "song": "El Scorcho" }, { "band": "Chevelle", "song": "Family…
1
vote
1 answer

Adding JSON object-related link to Dynatable rows

I am trying out Dynatables and, so far, I am able to display my data correctly and update its contents when a certain event happens. So far, this is what I have: http://jsfiddle.net/pDVvx/28/ $(document).ready( function() { var allSales = [{ …
moja
  • 95
  • 1
  • 13
1
vote
1 answer

Reload dynatable data

I'm using dynatable to power up my tables. It's how I'm using it: function getData(obj) { $.getJSON("AjaxEngine/AddPayment.aspx", { sender: "seller-factor", id: 1 }) .done(function (data) { var dynatable =…
Maysam
  • 7,246
  • 13
  • 68
  • 106
1
vote
0 answers

How to remove init by using dynatable?

im using the current version of dynatable, see: http://www.dynatable.com/ in the desktop-version the page is laoding and the script should be init - works. by resizing the browser, this init must be deactive < 600px width. but i dont now how to. is…
1
vote
1 answer

Sorting with hidden columns in Dynatable

I'm using Dynatable to display ajax data in a table. The table has lots of columns, so to make it easier to understand I have buttons to only show certain columns at one time. That works find until I try to sort by a column, at which point it…
Alex S
  • 4,726
  • 7
  • 39
  • 67
1
vote
0 answers

Query a list with Dynatable fails

When attempting to query against a list that has been processed as a dynatable nothing happens other than a javascript console log error stating that and array is null. Pretty basic example here: http://jsfiddle.net/7ndcT/ Javascript Code: //…
AdamM
  • 11
  • 1
1
vote
2 answers

Dynatable callback function not working

I'm trying to bind click event to dynatable generated, I've tried $('#my-final-table hr').on("click",function(){alert("foo");}); so I'm trying to bind it after loading data: var jsondata=[ { "band": "Weezer", "song": "El Scorcho" }, { …
Maysam
  • 7,246
  • 13
  • 68
  • 106
1
vote
2 answers

Hiding columns in Dynatable

I'm hoping to replace my tables with Dynatable, but I need to be able to hide and show certain groups of columns to do so. I do this in the existing, regular html table by giving a group to each , for example: cell…
Alex S
  • 4,726
  • 7
  • 39
  • 67
1
vote
3 answers

Bind dynatable search to onchange

Im using http://www.dynatable.com/ and there is a search input for filtering data. The problem is it works on hitting enter/losing focus etc and I want to use it on every letter change.
repo
  • 748
  • 1
  • 8
  • 19
1
vote
0 answers

Giant Bomb API results to Dynatable

I'm not really sure how to list my ajax/json results in table form. The network tab in Chrome's Developer Tools shows that the api call was made, but was canceled. I'm guessing it is because of the the error I'm getting. How do I bring the JSON that…
SithToast
  • 77
  • 7
1
vote
1 answer

Dynatable.js custom sort

I'm trying to make a custom sort function for my dynatable to sort integers correctly but it seems I'm missing something, here's my sort function : function intSort(a, b , attr, direction) { var inta = parseInt(a.nombre); var intb =…
0
votes
1 answer

Dynatable Duplicates Rows When Sorting

I'm trying to figure out how to use dynatable. Currently, have a test web page with the minimal needed, using all the default dynatable settings, and a hard coded data set. This will show the table. However, when I click on the column headers to…
Skye MacMaster
  • 894
  • 1
  • 10
  • 19
0
votes
1 answer

Creating Dyantable with JSON from a remote url

I am trying to create a table using Dynatable to show data which is provided on a remote URL I am testing out a class management solution called Jackrabbit, which provides an endpoint (here - which has my sample data) containing class lists in…
Piklet
  • 31
  • 3
0
votes
1 answer

Is it possible to use checkboxes with dynatable?

I am using dynatable(https://www.dynatable.com/) for displaying the data and I have checkbox column to select the rows like below but when I change the page, the checkbox state changes to unchecked. I am selecting all rows by checkbox in table…
Aakash Patel
  • 11
  • 1
  • 6