Change the link in the fields of the list

Archived from the Xataface Users forum.

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.


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