Announcement

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

    Sort field name shown in the headercontextmenu(right click menu - header) in listgrid

    Version used:7.0RC2 Powerbuilder

    Is there a method to sort field names in the menu shown on the right click of header of ListGrid.
    The menu referred here is the one used to select deselect fields to be shown in the actual listgrid.

    Do Suggest!

    #2
    The submenu containing the list of fields with options to show/hide always shows in the same order as fields are rendered in the grid.
    To modify this behavior, you'd have to set canPickFields to false (which will disable this auto-generated submenu), and override getHeaderContextMenuItems(), to add your own "columns" item and submenu.

    Comment

    Working...
    X