I am trying to set the cellpadding value for my vertical panel. There is an API for installing cellpacing (CellPanel.setSpacing ()), but not for installing cellpadding.
How should I do it?
You must use css for this. See the dev manual . Basically you want to set the style name in the panel using one of the setStyle * methods. After that, you use css to apply styles for the specific name.
I did it like this:
myVerticalPanel.getElement().setAttribute("cellpadding", "5");
Answer Carnell does not work for IE7 and earlier.
Source: https://habr.com/ru/post/1744332/More articles:C # binding list made from required lists - c #How to insert line breaks dbunit dataset - xmlRemoving unnecessary characters from a string in Python - pythonRounding milliseconds when printing with Joda Time - javahow to dynamically add menus in Qt - qtWhat is the difference between a "service" and a "server"? - naming-conventionsLinux C: An "interactive session" with separate named read and write channels? - cЗагрузите файл .pdf в библиотеку документов Sharepoint, используя Access vba - access-vbaThe height of the jquery document is incorrectly specified by IE (in XP) for the first time - jqueryHow can I register log4j in an existing J2EE Struts web application? - javaAll Articles