Announcement

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

    Background color for Expansion field in ListGrid

    Hi,
    I am using <smartgwt.version>12.1-p20201118</smartgwt.version>.
    Is it possible to set differnt bckground color to expansion field(column 1) of listgrid on basis of some differnt status?
    Attached Files

    #2
    Yes, it works the same as styling other cells. See getBaseStyle(), getCellStyle() and getCellCSSText() for various options.

    Comment


      #3
      Hi Isomorphic,

      Thanks for reply.

      But i am not able to get setCellStyle() and getCellCSStext() on the expansion field.
      ListGrid.getExpansionField().setCellStyle()----> this code i am using and unable to find cellStyle.
      Attaching the screenshot.
      Please Help.
      Attached Files
      Last edited by preeti_kanyal; 21st Dec 2020, 00:01.

      Comment


        #4
        The mentioned API are on ListGrid.

        Please actually read the docs and use search instead of just looking at autocompletions on the current object only.

        Comment

        Working...
        X