Hi
The post below I never followed up on but now need to use it.
http://www.asprunner.com/forums/topic/22800-master-details-has-details-always-on-left-and-not-right/pagefromsearch1
Help appreciated.
I can't see which code to move from the html page to put the details links after the datasource tables.
[code] {BEGIN edit_column}
<td class="runner-cc runner-bc" iEditCont="edit" {$rowstyle}>
{BEGIN edit_link}
<a {$editlink_attrs}>##message EDIT##</a>
{END edit_link}
</td>
{END edit_column}
endif##
if @TABLE.bInlineEdit##
{BEGIN inlineedit_column}
<td class="runner-cc runner-bc" iEditCont="iEdit" {$rowstyle}>
{BEGIN inlineedit_link}
<a {$inlineeditlink_attrs}>##message INLINE_EDIT##</a>
{END inlineedit_link}
</td>
{END inlineedit_column}
##endif##
if @TABLE.bCopy##
{BEGIN copy_column}
<td class="runner-cc runner-bc" iEditCont="copy" {$rowstyle}>
{BEGIN copy_link}
<a {$copylink_attrs}>##message COPY##</a>
{END copy_link}
</td>
{END copy_column}
##endif##
if @TABLE.bView##
{BEGIN view_column}
<td class="runner-cc runner-bc" iEditCont="view" {$rowstyle}>
{BEGIN view_link}
<a {$viewlink_attrs}>##message VIEW##</a>
{END view_link}
</td>
{END view_column}
##endif##
##endif##
if @TABLE.arrKeyFields.len && (@TABLE.bDelete || @TABLE.bExportTo || @TABLE.bPrinterFriendly || @TABLE.bInlineEdit)##
{BEGIN checkbox_column}
<td class="runner-cc runner-bc" iEditCont="checkBox" {$rowstyle}>
{BEGIN checkbox}
<input type="checkbox" {$checkbox_attrs}>
{END checkbox}
</td>
{END checkbox_column}
##endif##
foreach @TABLE.arrDetailTables as @d##
##if @first##
{BEGIN ##@TABLE.strDataSourceTable g##_dtable_column}
<td class="runner-cc runner-nowrap" {$rowstyle}>
##endif##
{BEGIN ##@BUILDER.tables{@d}.strShortTableName##_dtable_link}
<span>
<a {$##@BUILDER.tables{@d}.strShortTableName##_dtablelink_attrs}>
##caption @d##
##if @BUILDER.tables{@d}.arrMasterTables{@TABLE.strDataSourceTable}.bDisplayChildCount##
<span {$##@BUILDER.tables{@d}.strShortTableName##_childnumber_attr} dir="ltr">{BEGIN ##@BUILDER.tables{@d}.strShortTableName##_childcount}({$##@BUILDER.tables{@d}.strShortTableName##_childnumber}){END ##@BUILDER.tables{@d}.strShortTableName##_childcount}</span>
##endif##
</a>
##if @TABLE.bDetailLinksHorizontal##
##else##
<br/>
##endif##
</span>
{END ##@BUILDER.tables{@d}.strShortTableName##_dtable_link}
##if @last##
</td>
{END ##@TABLE.strDataSourceTable g##_dtable_column}
##endif##
##endfor##
brick_param gridfieldsrow_horizontal##
<td class="runner-cr" {$rowstyle}></td>
{BEGIN endrecord_block}
<td class="runner-cs" {$endrecordblock_attrs}> </td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}/code]