render cell in details view
Archived from the Xataface Users forum.
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
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
Martin Pruss — Thu Jan 31, 2013 8:54 am
thanks for your fast reply..