[Qgis-user] refresh conditional formatting in attribute table
Häfliger Guido
guido.haefliger at vogelwarte.ch
Mon Oct 12 22:36:24 PDT 2020
Good Morning Andreas
Thats what I did 2 weeks ago but I didn’t get a hint form there, so I tried the QGIS User group Mailing list.
So I guess I have to bury myself in the API documentation …
Guido
Von: Andreas Neumann [mailto:a.neumann at carto.net]
Gesendet: Montag, 12. Oktober 2020 17:05
An: Häfliger Guido
Cc: 'qgis-user at lists.osgeo.org'
Betreff: Re: [Qgis-user] refresh conditional formatting in attribute table
Hi Guido,
You might get more replies on the QGIS developer list<https://qgis.org/en/site/getinvolved/mailinglists.html> for PyQGIS related questions. See https://lists.osgeo.org/mailman/listinfo/qgis-developer
Andreas
On 2020-10-12 16:37, Häfliger Guido wrote:
Hi
I‘m developing a plugin which executes some updates of attributes on a loaded layer where are conditional formatting rules (full row) in the attribute table are defined. I want to apply the conditional formatting rules after the table-updates by python. It works if I close and open the attribute table by pyqgis but I only manage to close the attribute table in dock view. My questions:
- Is it possible to apply the conditional formatting rules by pyqgis without closing and opening the attribute table (loop over all rules and apply them)?
- How can I close an attribute table which is not in docked view by pyqgis?
Thanks for your help in advance
____________________________________________________
Dipl. Ing. ETH Guido Häfliger
EDV/GIS-Spezialist
Tel. ++41 41 462 97 60
guido.haefliger at vogelwarte.ch<mailto:guido.haefliger at vogelwarte.ch>
www.vogelwarte.ch<http://www.vogelwarte.ch/>
Schweizerische Vogelwarte | Seerose 1 | CH-6204 Sempach | Schweiz
Station ornithologique suisse | Seerose 1 | CH-6204 Sempach | Suisse
Stazione ornitologica svizzera | Seerose 1 | CH-6204 Sempach | Svizzera
Swiss Ornithological Institute | Seerose 1 | CH-6204 Sempach | Switzerland
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201013/4938789c/attachment.html>
More information about the Qgis-user
mailing list