I just thought of a relevant question, are all data tables stored as arrays of arrays? IE, could I just use JS and find the length of an array inside the data table object?
Or is there more to it than that (I'm about to leave my workspace, but I'll test it once I can). On Oct 14, 1:53 pm, Tday <[email protected]> wrote: > I'm not entirely sure how this functionality would be implemented with > data coming in from a google doc. > > I've got my query set up to get data from a spreadsheet, I store that > all in a datatable, and use a chart wrapper to print it along with > some filters. > > Now from the data table, one column is the string value of either > working or broken. I'd like to swap each instance of working and each > instance of broken with a link to an image (a green or red check > mark). > > The problem is, I'm not entirely sure how I would build the > parameters of a loop. I want to pass the data table into another > function and loop until the end of the table. I imagine this would be > a nested for loop where the parent loop loops through each row, and > the nested loop loops through each column in the row. The columns > will remain consistent at all times in my data, it's the number of > rows that are in flux. > > So, I'm not entirely sure of the methods to get the dimensions of a > table work. Help would be loved/appreciated/adored/inspiring (???) . -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
