Page 1 of 1

render cell in details view

PostPosted: Thu Jan 31, 2013 8:04 am
by Martin Pruss
Hi Steve , hi fellow Xataface users..
I was wondering if its possible to group fields in details view via the render cell method, like it's possible in the list view eg:
Code: Select all
    function us_min__renderCell( &$record ){
       return $record->strval('us_min').' - '.$record->strval('us_max');
    }

this works fine in list view ..
but has no effect on the details view ..
any ideas?
thanks in advance
Martin

Re: render cell in details view

PostPosted: Thu Jan 31, 2013 8:52 am
by shannah
For the details view you can use htmlValue(). renderCell() is just for lists.

display() will affect both lists and details.

Steve

Re: render cell in details view

PostPosted: Thu Jan 31, 2013 8:54 am
by Martin Pruss
thanks for your fast reply..