Calculated fields in Detail View (DV)
Posted: 2014-04-03 13:15
Hi
I'm very new to AppGini (few days) - and so far the experience has been very good
However, I am struggling on one thing. I have a Table View of weekly timesheets. In this view they list dates, who the client was etc. But it also has also has 2 calculated fields on the right - TotalHours and Total Days (calculated from the individual "daily hours" fields; hidden in the Table View). Now, these totals are calculated on the fly (via tblTimesheets_init). The actual underlying table has those 2 fields as placeholders only. They are empty and I wish to keep it that way; I do not want to store those values in the database itself. This all works absolutely fine. See below...
However, when I click on a timesheet to see its Detail View I want to do the same thing. That is, show an on the fly calculations as per its Table View. But I cannot see anything that allows me to access a Datalist object in Detail View like I can in Table View. Here is a mock up of what I'm trying to do...
In advance, any thoughts very gratefully received.
Many thanks.
I'm very new to AppGini (few days) - and so far the experience has been very good
However, I am struggling on one thing. I have a Table View of weekly timesheets. In this view they list dates, who the client was etc. But it also has also has 2 calculated fields on the right - TotalHours and Total Days (calculated from the individual "daily hours" fields; hidden in the Table View). Now, these totals are calculated on the fly (via tblTimesheets_init). The actual underlying table has those 2 fields as placeholders only. They are empty and I wish to keep it that way; I do not want to store those values in the database itself. This all works absolutely fine. See below...
However, when I click on a timesheet to see its Detail View I want to do the same thing. That is, show an on the fly calculations as per its Table View. But I cannot see anything that allows me to access a Datalist object in Detail View like I can in Table View. Here is a mock up of what I'm trying to do...
In advance, any thoughts very gratefully received.
Many thanks.