Announcement

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

    How to customize ListGrid "sorter button"?

    I'd like to show an icon on the sorter button (the empty space on the upper-right corner of ListGrid instances) cause some users are not aware of that button. And I'd also need to override the action triggered when the user clicks on it (by default it seems to toggle the actual sort direction).
    I've seen a user asked for something similar at customizing listgrid sorter button but he got no response. It doesn't seem a silly request (at least to me). Isn't it?

    Using SmartGWT 3.0
    SmartClient Version: SC_SNAPSHOT-2011-12-05/LGPL Development Only (built 2011-12-05))

    Cheers
    Davide

    #2
    See Skinning Guide - the sorter button is an AutoChild "sorter", default class Button. You could set button.icon, or you could switch it to an ImgButton.

    Comment


      #3
      We have the same problem, could you be more specific in how to customize sorter button, for example with new image?

      Comment


        #4
        I have achieved my goal with your suggestion to customize auto child 'sorter'. Thank you.

        Comment

        Working...
        X