Is there a possibility in QGIS setting a field (column) of the attribute-table to not visible?

In the properties-dialog of the layer i couldn't find anything.


Layer Properties -> Fields -> Select 'Line Edit' in field(column) which you want hide -> Select 'Hidden'

  • 2
    Perhaps useful to someone at some point, the equivalent using PyQGIS [for the 0th field]: layer.setEditType(0, QgsVectorLayer.Hidden) – Snorfalorpagus Jan 20 '14 at 15:13

I found this via HasT's answer, but in QGIS 2.6.1-Brighton it's:

  1. Layer Properties
  2. Fields
  3. 'Edit widget' column
  4. Text Edit
  5. 'Hidden' from the list box (found this last step misleading since there are no other options, you just hit OK)

If your attribute table was already open, you'll have to close it and reopen it to see the changes.

If anyone knows how to batch the hiding fields steps, please comment. Kind of annoying when there's a ton of fields to hide!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.