How to resize table when maximize the portlet or window

204 views
Skip to first unread message

ram prasad

unread,
Apr 13, 2012, 3:22:38 AM4/13/12
to Google Visualization API

Hi,
 
   I have visualization table inside jquery portlet with maximize and minimize options. By default, Table displays properly.If i maximize portlet,the table not align to porlet size.It means, I want to resize the Table when maximize. After maximizing if i click on table header resize automaitcally. I want to resize when maximize itself. How to call this event?
--
BY

R.RAMPRASAD


Michael Neth

unread,
Apr 13, 2012, 11:07:30 AM4/13/12
to google-visua...@googlegroups.com
I did the same thing to resize my bar charts when the window changes. I'm using JQuery.

$(window).resize(function() {
drawChart();
});

So you just attach a function to the resize event on the window. In this case I'm calling the function that draws my chart: chart.draw(view, options);
Reply all
Reply to author
Forward
0 new messages