8

How can I hide some columns in a QGIS table while I am working on it so that I don't need to scroll so far to the left or right when I have a large number of attributes? Something like Excel does for spreadsheets.

1
  • 1
    please mark the answer that you think is correct Mar 23, 2021 at 21:46

3 Answers 3

14

In QGIS 3.16 onwards: In the attribute table, right click on the column name, then press Hide Column

OR

Above the column names in the opened attribute table, click on "Organize Columns" and remove the tick from the checkbox(es) - this is also the way to show the hidden columns again.

2
5

Using QGIS 2.14, please select your layer and right-click your mouse, open Properties. On Layer Properties window, push Text Edit button of your target field, under Edit Widget.

By selecting Hidden, your column will be invisible.

enter image description here

NOTE: Please do not Hide your column if you are using other Widget function, such as Value Map. When you set "Hidden", your Value Map setting will be erased...

4
  • If you hide the column using the right click method AND have it hidden in the widget field, then decide to unhide using the right click, you will not be able to click and edit that column. You will only be able to edit using the field calculator. If you want to click to edit, you need to go back to the Fields area and change the widget back to Text Edit.
    – Johanna
    Apr 11, 2018 at 3:14
  • @Johanna Which QGIS version are you working on now?
    – Kazuhito
    Apr 11, 2018 at 3:23
  • I am on 2.18 at the moment.
    – Johanna
    Apr 11, 2018 at 5:13
  • @Johanna Thanks. I understand these two cannot getting along with each other. Would you like to report this finding as issue / enhancement proposal to developers?
    – Kazuhito
    Apr 11, 2018 at 5:18
3

For QGIS 3 the same process is a little bit different. Setup of columns visibility should be done in Layer properties - Attributes form. The explicit manual is here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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