Table row highlighting half-done
Posted by mholmes on 28 Aug 2009 in Activity log
JW wants the active row in the record table to be highlighted, so you can easily find it again when you've viewed a record then collapsed it again. I've done half of this, in that the highlighting works for viewing records; however, when you edit a record, the original row is automatically replaced, so the highlighting is lost. There are two options to get around this:
- The
MdhRecordList
object methodwriteRecAsRow
could have an additional parameter foraddHighlighting
, which would be set to true by the callingsave_rec.php
code. - The AJAX library
sendRequest
function could have an optional parameter for a function to call on completion, which it would have to stash in a global variable, thenonReadyState
could call it at the completion of a transaction, and then set it to null again.
The second of these would be more broadly useful, but more tricky to implement.