List cell value
Archived from the Xataface Users forum.
jsantari — Mon Dec 20, 2010 7:14 am
Two questions; is there a way to get the entire final contents displayed in a list cell using delegates? There is a blank space at the beginning of each cell I’d like to remove. Also, can you disable the link for a cell?
shannah — Mon Dec 20, 2010 10:41 am
- You can override the output for a cell using the delegate class method:
- Code: Select all
myfield__renderCell($record){ return 'my cell contents'; }
- You can disable the link in the cell by adding the noLinkFromListView=1 directive to the field in the fields.ini file:
- Code: Select all
[myfield] noLinkFromListView=1
jsantari — Mon Dec 20, 2010 2:09 pm
Thanks for the noLink… that works. However the html blank is still always at the beginning of the data in a cell and its not in the $record->display(‘field_name’) value so its being interjected somewhere in the code. Not sure where to look to find it.