Announcement

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

    Question re ListGrid Header Context Menu - Sorting "Columns" menu items childen

    (SmartGWT Showcase via smartclient.com)
    SmartClient Version: v10.0p_2015-01-19/LGPL Development Only (built 2015-01-19)
    (Our local version)
    SmartClient Version: v9.1p_2014-12-04/PowerEdition Deployment (built 2014-12-04)

    Firefox23+/IE9

    Bonjour Isomorphic,

    Is it possible to have the list of available Columns shown in a ListGrid Header's Context Menu, sorted alphabetically?

    We have listgrids with "a lot" of columns. Users have to search through the list to find the columns that they wish to show or hide. This task would be easier if the list was sorted alphabetically. The list order seems to be based on the order of the columns currently displayed.

    Please see the attached screenshot.

    Thank you
    Attached Files

    #2
    For an alternative interface for picking the visible columns that works well when there are a very large number of available columns, see listGrid.useAdvancedFieldPicker.

    As far as the default interface, we do not think it would be a general improvement to move to sorted order. However, you can replace this entire mechanism (see listGrid.getHeaderContextMenuItems()), or you could also consider Feature Sponsorship if you want framework features that allow you to control the order used for the built-in menu.

    Comment


      #3
      Thank you for the feedback. We will use the advancedFieldPicker.

      Interesting to note though that the Column names are sorted alphabetically in the FilterBuilder widget. I am a bit curious to know why the decision was made to sort in this widget but not in the Grid Header ContextMenu.

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

      Thank you as always for your great product.

      Comment


        #4
        Because the FilterBuilder does not render as a series of columns, so it has no pre-existing order in which the user is already seeing the fields.

        Comment

        Working...
        X