Change the link in the fields of the list

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

Postby cbovio » Fri May 04, 2007 6:12 am

Hello,
I have a list for the table "agents", another one for the table "badges". Inside the "badges" list, I have the name of the agent. I want to click on the agent name and see the details for this agent. Is it possible and how ?
Thank you
C.
cbovio
 
Posts: 25
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri May 04, 2007 8:21 am

Stay tuned on this one.Ê I am doing final testing on Dataface 0.7 right now and it has a number improvements, including the ability to customize how the list view renders a cell.Ê In this new version you'll be able to do something like this in the delegate class.

function agent__renderCell(&$record){
ÊÊÊ return ''.$record->val('agent_name').'';
}


In the current version there is no easy way to do this, other than to do it by javascript or to create a custom list view.

Best regards



Steve


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


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 34 guests

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