render cell in details view

A place for users and developers of the Xataface to discuss and receive support.

render cell in details view

Postby Martin Pruss » Thu Jan 31, 2013 8:04 am

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
Martin Pruss
 
Posts: 61
Joined: Tue Oct 23, 2007 2:22 pm
Location: Berlin

Re: render cell in details view

Postby shannah » Thu Jan 31, 2013 8:52 am

For the details view you can use htmlValue(). renderCell() is just for lists.

display() will affect both lists and details.

Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: render cell in details view

Postby Martin Pruss » Thu Jan 31, 2013 8:54 am

thanks for your fast reply..
Martin Pruss
 
Posts: 61
Joined: Tue Oct 23, 2007 2:22 pm
Location: Berlin


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 1 guest

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