2

I have to draw several stuff and input the data, all the layers have the same data fields but some requires 2\5 attributes to be filled. Is there a way to the change the order of those fields to be on top so I get to input them easier without changing the order of the field themselves?

| improve this question | | | | |
  • 1
    Welcome to gis.stackexchange! Please note that a good question on this site is expected to show some degree of research on your part, i.e. what you have tried and - if applicable - code so far. For more info, you can check our faq. – underdark May 13 '17 at 7:35
9

Open the layer properties, fields tab. From there, select the drag and drop designer option and drag to the right the fields you want to edit. You can also change the field order.

You can then edit a feature and choose to display the fields in form view. Only the fields you selected at the previous step will be shown.

Layer property, field tab

Restrict fields to be edited

| improve this answer | | | | |
6

If I understand your question, you may use the Refactor fields algorithm from the Processing Toolbox: it allows manipulating the order of your fields stored in the Attribute Table.

| improve this answer | | | | |
  • 1
    it's exactly what i was looking for except that it creates a new layer with the new attributes order .. is there a way to do the same with the layer itself without creating a new one? – Abdullah Alaa May 13 '17 at 11:55
  • @AbdullahAlaa, maybe not with common tools. Can't you overwrite the original layer? Maybe your task could be accomplished using some PyQGIS code. – mgri May 13 '17 at 12:04
3

Open the attribute table. Right click the column headings in the attribute table. Select "Organize columns" in drop down menu. Then, just drag the heading to the position you want it to be in (See image of the "organize table columns" box below). Click OK. Headings should have rearranged the way you want it to be arranged in the attribute table.

enter image description here

| improve this answer | | | | |
0

you may also use the Table manager plugin only available on qgis 2.18 and > which only lets you edit the vector file without creating a new one.

| improve this answer | | | | |

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.