Hello,

I have a table chart already drawn, but want to disable sorting after a 
checkbox is checked.
Is there a method to change option after the table is ready.

var SPRITE_table = new google.visualization.ChartWrapper({
 'chartType': 'Table',
 'containerId': 'sprite_table',
 'options' : {
'showRowNumber' : 'false',
'allowHtml': 'true',
//'width': '2000',
'cssClassNames': cssClassNames
  },
'view': {'columns': [20,0,1,2,3,4,5,6,7,8,9,10,11]}
});
google.visualization.events.addListener(SPRITE_table, 'ready', function () {
           * if($('#mycheckbox').is(':checked')){*
*                   // disable sorting for SPRITE_table*
*            }*
)};

Thanks,
Weii

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/7ce33d0a-1266-44fe-9a3e-0da61ba4e492%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to