Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users
Catalyst and ExtJS : Using Table Relationships
 

Index | Next | Previous | View Flat


jagdish.eashwar at gmail

May 24, 2009, 8:11 AM


Views: 370
Permalink
Catalyst and ExtJS : Using Table Relationships

Hi,

I am trying my hand at using Catalyst and the ExtJS Grid (instead of TT). I
am able to fetch data from a single table and display them in the grid. But
I am not able to figure out how I can use the table relationships to fetch,
say, the corresponding item_name for a given item_code and display that in
the grid instead of the item_code.

If I use TT, I use the following to fetch the item_name from another table
in the schema:

[% FOREACH item IN item_stash %]
[% item.belongs_to_relationship.item_name %]
[% END %]

How is this to be done when one is using the ExtJS Grid? I'm following
mainly Jason Kohles' tutorial which is available at
http://www.catalystframework.org/calendar/2007/9.

Jagdish Eashwar

Subject User Time
Catalyst and ExtJS : Using Table Relationships jagdish.eashwar at gmail May 24, 2009, 8:11 AM
    Re: Catalyst and ExtJS : Using Table Relationships peter at peknet May 25, 2009, 11:31 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.