This topic is locked

Changing the layout in Detail Page

11/11/2010 3:31:42 PM
PHPRunner General questions
H
hobbit author

How do I change the layout of the List Detail Page of Genre/CDs in master-detail relationship custom view?
What I'm trying to do is to display the master table (Genres) at the top and the detail table (CDs) at the bottom in simple tables (something like the Print result) without the expand/collapse Details page icon below the Master table. I know that it's probably easier to handcode this outside phprunner but it'd be great if it's possible in the app.
SELECT

tblgenre.genrename,

tblcd.cdname,

FROM tblgenre

INNER JOIN tblcd ON tblgenre.id = tblcd.genreid



| |

| Pop |

|____|
____


| |

| Lady Gaga |

|____|__

| |

| Ladysmith Black Mambazo |

|__|

| |

| Lily Allen |

|____|
ps. I'm using the trial version.

Sergey Kornilov admin 11/11/2010

You have two options here.

  1. Build a report that display data just the way you need it (grouping by genre)
  2. Use approach described in this article:

    http://www.asprunner.com/forums/topic/6221-how-to-insert-a-subheader-between-groups-of-records/
    It haven't been updated for a while but method for PHPRunner 5.3 should work. Let me know if any help is required there.