Collumn Arrangement

Archived from the Xataface Developers forum.

Thomachine — Mon Dec 12, 2011 9:03 am

Hello,

I’m currently working on a xataface application in which you are able to manage requirements for projects.
I’ve ran into an issue where i am trying to rearrange the collumns to make it more clear for end users.

Here’s an example of what i mean:

Currently a table is dissplayed like this:
“ |Function| |Name| | Surname | |etc| “

I’m looking to rearrange them like this:
“ |Name| |Surname| | Function| “

From what i understood you can change this in your fields.ini but after almost half a day of looking on how to actually do this hasn’t really brought me alot of results.
Can i get a lil’ push in the right direction?

Thanks in advance,
Thomas


shannah — Mon Dec 12, 2011 12:03 pm

Set the order directive for your fields in the fields.ini file.

e.g

Code: Select all
[column1]     order=10  ;  Display it last [column2]     order=-25 ; Display it first [column3]    order=0   ; Display in the middle

Thomachine — Tue Dec 13, 2011 1:06 am

That worked like a charm.

Thank you very much.