I am trying to set a cellpadding value for my vertical panel. There is an API to set cellspacing (CellPanel.setSpacing()) but none for setting the cellpadding.
How do I go about doing this?
I did it like this:
myVerticalPanel.getElement().setAttribute("cellpadding", "5");
Carnell's answer does not work for IE7 and earlier versions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With