Announcement

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

    Column resize listener in ListGrid

    Hi,

    Is it possible to add listener to ListGrid which will be fired when user resize column in table?

    #2
    ListGrid.addFieldStateChangedHandler()

    Comment


      #3
      Thanks a lot I don't know why I missed this method.

      But I have one another question: is there any simple way to get actually resized column or you have to iterate over all grid's fields and sum their width?

      Comment


        #4
        It only provides you a entire picture of the grid in its current state, not which column was just changed. Though you could easily capture the initial state, on field state change compare to see the difference, do whatever, capture the new state, repeat. The format is JSON so comparisons can be made to be easy.

        Comment

        Working...
        X