display order of table tabs

A place for users and developers of the Xataface to discuss and receive support.

Postby maddin » Sat May 05, 2007 4:21 am

hello to all df users
does anyone know how to change the order of the table tabs?
i know I read it somewhere (maybe here in the forum) but i can't find it anymore
cheers
martin
maddin
 
Posts: 58
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Sat May 05, 2007 9:38 am

The table tabs are placed in the order in which they are defined in the conf.ini file.Ê Just change the order in there.

--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby maddin » Sat May 05, 2007 12:42 pm

oops..
wrote table tabs by accident...but meant the action tabs eg. find, list, details, and some custom actions.
unfortunately the display order of the tabs does not correspond to the order of their definition in the actions.ini..
cheers
martin
maddin
 
Posts: 58
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Mon May 07, 2007 9:31 am

Ah yes...Ê you can add an 'order' property to the actions that will cause them to order properly.

e.g.

[find]
order=1

[browse]
order=2

.. etc..


However this requires you to actually change the actions.ini file in the dataface distribution.Ê If you can wait for the 0.7 release (i'm hoping to get it out today), then you can actually override properties of actions within your application using the following syntax.


In your application's actions.ini file:
[find > find]
order=1
[browse > browse]
order=2
etc..
The '>' indicates that this action should inherit from the action specified, rather than just overriding it completely.Ê If you were to do
[find]
order=1
It would effictively erase dataface's [find] action and replace it with your defined find action
rather doing
[find > find]
order=1
causes your find action to inherit all of the properties of the dataface find action but change the order property.
If you can't wait for 0.7, you could also just copy and paste the dataface actions that you want to change into your application's actions.ini file and make the modifications that you desire.
Hope this helps a little.
For my info, what order ard your tabs coming out as... they should be "details", "list", "find" by default.Ê If they're not, I'll have to look into it.
Best regards
Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby maddin » Tue May 08, 2007 12:04 am

hi Steve
I am currently using the latest dataface version 6.13r4 and the tab order is: List, Details,Custom Action , Find

thanks for your reply..
martin
maddin
 
Posts: 58
Joined: Wed Dec 31, 1969 5:00 pm

Postby maddin » Tue May 08, 2007 4:45 am

hi again..
I just had a quick look into the df 0.7 changes document...
It looks like there«s an impressive amount of new features to play with..
thanks for keeping us (users) busy :)
and a extra "thank you" for the german translation
cheers
martin
maddin
 
Posts: 58
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 36 guests

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