Announcement

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

    What call can I use to refresh grid data

    I have a ListGrid with showFilterEditor = true. Suppose I want to also show a button to refresh the grid's data, what call should I put in the click() handler? filterData()? fetchData()? refreshData()? And if one of those, with what arguments?

    #2
    Hi wallytax,

    I'd go with refreshData() like in this sample.

    Best regards
    Blama

    Comment


      #3
      This is interesting! I'll look into that! Thank you very much for your quick response Blama.

      Comment


        #4
        Out of curiosity: in the example, the ToolStrip is created via isc.ToolStrip.create(). Will this component be destroyed if the grid itself is destroyed? I always use auto children because those are automatically destroyed when the grid is destroyed. Otherwise, I have to take care of this myself, or not?

        Comment


          #5
          If you destroy a parent, it will destroy its current children, and in this example, the ToolStrip becomes a child of the grid, so it would be destroyed along with the grid.

          Comment

          Working...
          X