Hi thank you so much for reply.but your code does not work for me.I have attached image and please have a look.I have give border=1 to table so you can clearly see that parent node are taking double width of child node in some case.Please help me out. its urgent.FYI. i have created dynamic chart and each element have below code.
info = "<table><tr><td style='text-align:left'> Name : Feldstein, Daniel A</td></tr>"+ " <tr><td style='text-align:left'> Business Title : VP Of Operations </td></tr>"+ "<tr><td style='text-align:left'> Location : Rockleigh - 7 Volvo </td></tr>"
+ "<tr><td style='text-align:left'>Email Id : <a href='mailto:dfeldstein@crestron.com'>dfeldstein@crestron.com</a> </td></tr>"
+ "<tr><td style='text-align:left'> Department : " + deptLevelTreeview.SelectedNode.Value + "</td></tr>"+ " <tr><td style='text-align:left'> Phone No : 10214 </td></tr><table>";
--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
I added the following style:.google-visualization-orgchart-node {width: 200px; }And all the nodes seemed to get changed correctly. Hope that helps.dan
On Tue, Mar 26, 2013 at 9:41 AM, pankti shah <pank...@gmail.com> wrote:
sorry forgot to attach image in last reply.
On Tuesday, March 26, 2013 9:39:53 AM UTC-4, pankti shah wrote:
Hi thank you so much for reply.but your code does not work for me.I have attached image and please have a look.I have give border=1 to table so you can clearly see that parent node are taking double width of child node in some case.Please help me out. its urgent.FYI. i have created dynamic chart and each element have below code.
info = "<table><tr><td style='text-align:left'> Name : Feldstein, Daniel A</td></tr>"+ " <tr><td style='text-align:left'> Business Title : VP Of Operations </td></tr>"+ "<tr><td style='text-align:left'> Location : Rockleigh - 7 Volvo </td></tr>"
+ "<tr><td style='text-align:left'>Email Id : <a href='mailto:dfeld...@crestron.com'>dfeld...@crestron.com</a> </td></tr>"
+ "<tr><td style='text-align:left'> Department : " + deptLevelTreeview.SelectedNode.Value + "</td></tr>"+ " <tr><td style='text-align:left'> Phone No : 10214 </td></tr><table>";
Let me know if there is problem in code.
On Monday, March 25, 2013 4:54:19 PM UTC-4, asgallant wrote:Use the DataTable#setRowProperty to set the "style" property of each row and assign them a common width, like this:for (var i = 0; i < data.getNumberOfRows(); i++) {
data.setRowProperty(i, 'style', 'width:150px;');
}
On Monday, March 25, 2013 2:45:09 PM UTC-4, pankti shah wrote:Hi,Some parents are taking double width of child Node.I want to make same width of all node.I have added HTML table in each element and set width of that table but it still getting more width.
--
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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA
--
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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/HyywfcfD-5g/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
hi,
--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/HyywfcfD-5g/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
Thanks,Pankti
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.