Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    the best way to implement "details" widget that tracks the cache updates

    Hello,

    what would be the best way to implement a widget that displays content of a TreeNode that comes from a databounded TreeGrid and also reflects the changes made to the record? We tried DynamicForm.editRecord(record) where the form canEdit attribute was set to false without any luck. The form wouldn't track the cache updates which makes sense in edit mode, but we only use it to display the information. Is there a simple way to track the changes made outside the form or a custom ResultSet would be required?

    #2
    A DetailViewer will automatically be updated. There are various reasons to use a non-editable form to show details however (like more flexible layout), and if you are doing that, then it's true that cache updates will not clobber the (possibly edited) form values, so a ResultSet is indeed the best way to track changes to the shown record.

    Comment

    Working...
    X