Flask-AppBuilder icon indicating copy to clipboard operation
Flask-AppBuilder copied to clipboard

Problem in selecting all items in a related view without effecting another related view

Open ThomasP0815 opened this issue 4 years ago • 2 comments

image

image

ThomasP0815 avatar Mar 03 '20 14:03 ThomasP0815

Possible solution in ab_actions.js

`$('.action_check_all').click(function() {

     var activeTabs = $('div.tab-pane.active');

     if (activeTabs.length > 0)
     {
       $('.action_check', $(activeTabs[0])).prop('checked', chkAllFlag).trigger("change");
       chkAllFlag = !chkAllFlag;
     }
     else
     {
       $('.action_check').prop('checked', chkAllFlag).triggger("change");
       chkAllFlag = !chkAllFlag;
     }
});`

ThomasP0815 avatar Apr 28 '21 12:04 ThomasP0815

https://github.com/dpgaspar/Flask-AppBuilder/issues/759 seems same issue not has been solved.

youngsol avatar Aug 19 '21 09:08 youngsol