Categories | Question details Back To List | ||
Get the skin style? Is there a way to get the skin style in String form? Answer posted by Support on Sep 16, 2008 02:11 Which component do you mean ? Grid provides API which allows to get cell's background-color, color and horizontal align. But components don't have API to get the "computed" style in the string form. Answer posted by Jennifer on Sep 16, 2008 05:27 Oh, I mean the name of the skin style set by setSkin(name)
Sorry about that, thanks in advance! Answer posted by Support on Sep 18, 2008 02:27 There is no API to get the skin name. The name can be placed into some variable before calling setSkin. Or you can try to use the following approach: var container_style = mygrid.entBox.className; var skin_name =container_style.split("_")[1]; |