Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid Cell Formatting

    I'm a Smart GWT 3.1 Power Edition user. I have a question regarding ListGrid. Is it possible to format cells similar to what Excel allows in the Border tab of the Format Cells dialog? If so, can you point me in the direction of how this is done? See attached image for the Excel functionality I'm talking about.

    Thanks,
    Ken
    Attached Files

    #2
    You have available to you anything you can via CSS, with some limits (like you can't have different-sized borders in the same row). Take a look at listGrid.getBaseStyle() and listGrid.getCellCSSText() for the two most common ways of modifying the CSS that is applied to a cell - each has a corresponding sample of usage linked from the docs.

    Comment


      #3
      ListGrid Cell Formatting

      Thanks for your prompt reply. Can you point me at the place in the docs where the links to the sample usage are? I can't seem to locate them?

      Comment

      Working...
      X