Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
01-02-2013, 11:43 PM #1
- Join Date
- Dec 2012
- Thanked 0 Times in 0 Posts
misoproject/dataset - how do write the data to the browser screen?
EDIT - I have updated the code so all the js files link to remote copies. Previously the miso.ds.deps.ie.0.4.1.js file was a locally referenced file. This should allow you to run the code.
I have managed to import information from a google spreadsheet into my page using the misoproject/dataset scripts.
The dataset is named as the var = ds This is the whole spreadsheet.
I have then created a subset of just one row of ds and this is named var = subset
I can see this subset in the Firefox Console.
Next I want to place this subset into a html table viewable in the browser.
How do I make that next step? I have been trying document.write and other methods but I cannot get it to work.
Eventually I want to create a mobile friendly web site that has many tables on it, each one populated by different data subsets, each one of those derived from the original larger dataset ds.
So if you know of a way to create an html table and populate it with subset data, I can then repeat that method for each table I need to create. This might not be the most efficient way but this is only for a site I want to create for a few friends to use. It's to track our sports results predicting contest that I have until now just run off a a spreadsheet.
Thanks. My code is below...
Last edited by masmedia; 01-03-2013 at 04:07 PM.