by roginald » Mon Jun 11, 2007 5:43 pm
I have a table set up to deal with items in an online store. Basic set up with fields:
title
description
link
price
quantity
category
...etc
My problem is that for some reason when I go to view an individual record, the 'Current Record' text is defaulting to the 'link' field. Also I am getting the 'link' and 'description' fields above the details listing. So inside the div with class 'dataface-sections-top' I have and
inside of which is the contents of the 'link' field. Right after that is a div with class 'dataface-view-description', with the 'description' field contents inside.
I am just looking around trying to understand the default listing behavior. Is this behavior due to some auto-magic Dataface does based on column titles? I followed the advice from another forum post and added a function to my delegate class:
function titleColumn() {
return "title";
}
which fixed the problem in the select list, but not elsewhere on the view page.