See: UIObject.getOffsetWidth: return DOM.getElementPropertyInt(getElement(), "offsetWidth");
Just get your td element (do it yourself from the table or yourwidget.getParent().getElement()) and use: return DOM.getElementPropertyInt(element, "offsetWidth"); On Jan 9, 12:59 pm, sssmack <[email protected]> wrote: > The width of a widget contained it a cell can be gotten, but how is > the width of a cell or column gotten? > Let's say all cells of a Grid contain text. How is the width of a > column or cell gotten? > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
