Obvously you are busy these days...
if you'll find some time to help
here is a tricky problem:
I'd like to modify the css of a table row
(I know how to do that) by a condition.
Usually the rows are swiched from odd to even.
I was wondering if it was possible to group
entries with the same Date by applying the same
background color.
- Code: Select all
[b]!!pseudocode[/b]
function css__tableRowClass(&$record){
if ( $record->val('date') == '$record->val('date') of a previous record' ){
return 'bgcolor of the previous entry with the same date';
}else return ''; }
for this the function in the table delegate class
has to be aware of its own status "odd/even"
and as if this wasn't complicated
enough, $record->val('date') has to be compared to the
other rows...
mmhh...
I must confess I am not clever enough for that challenge
but maybe you are provoked by my dilettantism
thanks and cheers
martin