Collumn Arrangement

A place to discuss development of the Xataface core.

Collumn Arrangement

Postby 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
Thomachine
 
Posts: 2
Joined: Mon Dec 12, 2011 8:55 am

Re: Collumn Arrangement

Postby 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

shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Collumn Arrangement

Postby Thomachine » Tue Dec 13, 2011 1:06 am

That worked like a charm.

Thank you very much.
Thomachine
 
Posts: 2
Joined: Mon Dec 12, 2011 8:55 am


Return to Xataface Developers

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved