Announcement

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

    hiding/showing columns on grids

    Hi,

    on the showcase:

    http://www.smartclient.com/smartgwt/showcase/#grid_row_numbering

    I'm able to hide all columns except the first one and then I cannot show them again.

    Regards,
    zapryano

    #2
    Thanks for pointing this out - yes - the context menu doesn't show over the row-number column, but will show over the corner context menu so you can re-show columns that way.

    We'll consider whether we can handle this better by default.
    Within your app you could presumably resolve this by always having at least one field that is canHide:false (in addition to the row-number col)

    Regards
    Isomorphic Software

    Comment


      #3
      We've now altered the logic slightly for what determines if a column can be hidden through the header context menu.

      It now checks to make sure that at least one "real" field column is visible at all times, be it a field set to canHide: false or not and it will effectively ignore the row number, checkbox and remove icon columns.

      Available in a nightly 9.1d build in the next day or two.

      Regards,
      Isomorphic Software

      Comment

      Working...
      X