ThomasP0815

Results 20 comments of ThomasP0815

have all look at https://github.com/dpgaspar/Flask-AppBuilder/tree/master/examples/quickfiles

@dpgaspar get_filter_args changes self._filters thats why exclude_cols does not include the relation anymore! ![image](https://user-images.githubusercontent.com/30863072/180438409-3266e0b6-5427-4a96-a265-eaad418308cf.png)

Navigation path: - menu "Contacts" -> "List Groups" - show "Friends" - tab "List Contact" - edit "Abbey Szkarlat Faraday Etti" - "contact group" field should be hidden

I know, but excluding this field from search triggers this issue! counter question, why was this field hidden in the past (using version 3.4.5)?

Yes this result is alwright, but you didn't follow the navigation path! - menu "Contacts" -> "List Groups" - show "Friends" - tab "List Contact" - edit "Abbey Szkarlat Faraday...

You have to do that on instance level. Overriding render_template method should do the trick. ``` from flask import render_template class MyModelView(ModelView): def render_template(self, template, **kwargs): """ Use this method...

Probably there is some caching in between (Browser, ORM)

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; }...

Have a look at "related_views". I think that's it what are you looking for. [https://flask-appbuilder.readthedocs.io/en/latest/quickhowto.html](https://flask-appbuilder.readthedocs.io/en/latest/quickhowto.html)

db.session is not a normal session it is a scoped_session [https://docs.sqlalchemy.org/en/14/orm/contextual.html#unitofwork-contextual](https://docs.sqlalchemy.org/en/14/orm/contextual.html#unitofwork-contextual) have a look at paragraph "Implicit Method Access"