Linking tables - hyper link to extra information.

A place to discuss development of the Xataface core.

Linking tables - hyper link to extra information.

Postby nibra2000 » Wed Jun 03, 2009 8:22 am

Hi there,
My questions involves how make one of my Xataface result fields a hyper link to a different table that contains the additional information about that field/ entry.

I am working with a MySQL Database for tracking computers / and devices - -using
Xataface-1.1.5
Each computer / device has an "owner" field which is part of the device query - and the list of possible "owners" comes from a _SQL_ query to a table called PEOPLE - That PEOPLE table also has extra notes & info about each PEOPLE entry.
-
So when a user looks up a computer or device, I would like them to be able to double-click the "owner" name, and be hyper-linked to the PEOPLE table / "owner" entry where they can see the extra notes, and full information about that "owner".

Thank you for any help or suggestions.
~B
nibra2000
 
Posts: 15
Joined: Wed Feb 04, 2009 10:04 am

Postby mikep » Wed Sep 09, 2009 10:26 am

Hey,

I'm not at home so I can't give you the exact syntax, but look up the renderCell function for your delegate class. This will allow you to create a link from a field to anywhere. Take a look at this forum post.

http://xataface.com/forum/viewtopic.php ... highlight=

Good Luck,
Mike
mikep
 
Posts: 44
Joined: Fri Apr 24, 2009 2:21 pm


Return to Xataface Developers

Who is online

Users browsing this forum: No registered users and 16 guests

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