Is it possible to dock QGIS attribute table on the right?
I know it is possible to display it on top and bottom, but for my project it would be better to dock it on right (or left) side.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Agree with @JochenSchwarze that it makes sense to have it (and thanks for making it a feature request).
Saying that, it is possible to do it with a bit of Python.
Make sure the Open attribute table in a dock window setting is enabled from the menubar:
Settings > Options > Data Sources > Feature attributes and table > Open attribute...
Restart QGIS and then open both the Python Console (
Plugins > Python Console or press Ctrl+Alt+P) and the Attribute Table of your selected layer.
Then type the following into the Python Console:
from PyQt4.QtCore import Qt from PyQt4.QtGui import QApplication attrTables = [d for d in QApplication.instance().allWidgets() if d.objectName() == u'AttributeTable'] iface.addDockWidget(Qt.RightDockWidgetArea, attrTables)
Your attribute table should now be docked to the right:
And if you want to dock it to the left, replace
Seems impossible at the moment. But I strongly agree that it makes sense. I have just started a feature request in the QGIS issue tracker https://hub.qgis.org/issues/14941