Thanks Buddy, It worked like a charm, thanks a ton. I loved the way you gave me solution. JSFiddle :)
Regards, Sudhir On Thursday, 12 July 2012 19:17:41 UTC-5, asgallant wrote: > > You are trying to pivot the table, which isn't supported in DataTables. > You can manually pivot the table, though; see example: > http://jsfiddle.net/asgallant/HkjDe/ > > On Thursday, July 12, 2012 4:43:50 PM UTC-4, Sudhir Kesharwani wrote: >> >> Visualization Gurus... >> >> I have a data table object in following format. >> >> Equipment Locationâ–˛ Count e1 c16 e2 c1 >> 2 e3 c1 >> 1 e4 c1 >> 3 e1 c2 7 e2 c2 3 e1 c3 8 e2 c3 4 >> >> I want to generate a data table from this data onto fixed number of rows >> and column (missing values should be replaced with 0) >> E1 E2 E3 E4 C1 XX xx xx xx C2 xx xx 0 xx C3 0 xx xx xx >> Currently I don't see any method of querying details from a DataTable >> object, do we have any samples that uses getSelection() >> >> Can I use Query object with DataTable, all the samples talk to Google >> Spreadsheet. >> >> google.visualization.Query(*dataSourceUrl*, *opt_options*) >> >> Thanks in advance. >> > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/nT6O_0aOaj8J. 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.
