• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

how to clear a pivot

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to clear a pivot

    I have an app that has three main parts, a filter form (with a reset button), a pivot and a grid. I am able to clear the filter form and the grid when clicking on the reset button, but the pivot only gives me the options to show/hide (don't want to hide it) and under show it has keep or load data, no clear. The grid has keep/load/clear as options.

    how do you suggest clearing the pivot when the filter options are reset?

  • #2
    Thanks for the information and we will get this fixed in our next update. For right now if you name your pivot grid you can execute a script to remove all of its the data on the click of your forms reset button

    For example I named my pivot grid "myPivotGrid"

    Code:
    var myPivot = getWidget('myPivotGrid');
    
    // remove all data from the pivot grid
    //
    myPivot.down('#uicomponent').getStore().removeAll();
    
    success();
    Last edited by robert.swanson; 03-09-2023, 03:35 PM.

    Comment


    • #3
      This will be available in the next update.

      Comment

      Working...
      X