Hi. It is not clear what is the data in your data table. You can try it with a simple example first (available in the playground if you want, http://code.google.com/apis/ajax/playground/#table). You must also specify the allowHtml flag to be true (case of options is important). See more details here: http://code.google.com/apis/visualization/documentation/gallery/table.html#Configuration_Options
Hope this helps, Viz Kid On Thu, Apr 1, 2010 at 2:49 AM, Dipika Mallya <[email protected]>wrote: > From ca quicklook at your code below it may due to the word wrap or link > wrap ( incomplete clickable part of original link being rendered onlu uptill > pub? ) maybe you should try the shortlink goo.gl or any other 3rd party > link shortener. > > Regards, > DM > > > > On Thu, Apr 1, 2010 at 5:35 AM, Tobi Harnegg <[email protected]> wrote: > >> Looking through older posts, I know it has something to do with the >> allowhtml option, also tried it out in several ways, but now result. >> (i have to admit i am still a noob) >> >> here is the testingsite: >> http://goldextra.servus.at/tb/mvs/list_test.html >> >> Could anyone tell me what exactly in this code I have to change to >> show column C as functional hyperlinks? >> >> here is the code: >> --------------------------- >> <script type="text/javascript"> >> google.load('visualization', '1', {packages: ['table']}); >> </script> >> <script type="text/javascript"> >> var isFirstTime = true; >> var options = {'showRowNumber': false}; >> var data; >> var queryInput; >> // To see the data that this visualization uses, browse to >> var query = new google.visualization.Query( >> 'http://spreadsheets.google.com/pub? >> key=tWacOUdN1nLN_lKNRPhGbGQ&single=true&gid=0&output=html'); >> function sendAndDraw() { >> // Send the query with a callback function. >> query.send(handleQueryResponse); >> } >> function handleQueryResponse(response) { >> if (response.isError()) { >> alert('Error in query: ' + response.getMessage() + ' ' + >> response.getDetailedMessage()); >> return; >> } >> data = response.getDataTable(); >> var table = new >> google.visualization.Table(document.getElementById('querytable')); >> table.draw(data, {'showRowNumber': false}); >> if (isFirstTime) { >> init(); >> } >> } >> function setQuery(queryString) { >> // Query language examples configured with the UI >> query.setQuery(queryString); >> sendAndDraw(); >> queryInput.value = queryString; >> } >> google.setOnLoadCallback(sendAndDraw); >> function init() { >> isFirstTime = false; >> (new >> google.visualization.Table(document.getElementById('table'))).draw(data, >> options); >> queryInput = document.getElementById('display-query'); >> } >> function setQueryFromUser() { >> setQuery(queryInput.value); >> } >> // Apply query language. >> query.setQuery('SELECT A,B,C,E,D,F ORDER BY A DESC'); >> </script> >> <style type="text/css"> >> <!-- >> .white { >> color: #CCC; >> } >> >> --> >> </style> >> >> -- >> 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]<google-visualization-api%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-visualization-api?hl=en. >> >> > -- > 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]<google-visualization-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > -- 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.
