I've narrowed this down further. If I have a form in Record view and I put an onRender method on a field, onRender fires when the a record is selected, and it fires if the user happens to click on that field, but if anything else causes the value in that field to change, onRender does NOT fire. For instance:
- If it is calc, and the user changes a value that the calc depends on, the calc refreshes, but onRender does not fire
- If it is a related dataprovider, and the user changes which record the relation points to, the related dp refreshes, but onRender does not fire
- Even if I put the same field on the form twice, and change the value in one copy of the field, an onRender event placed on the duplicate field will not fire. (I know that's a useless scenario, it's just to demonstrate the behavior I'm seeing)
I find this odd because Servoy is clearly 're-rendering' the field - so why doesn't onRender fire? Is this expected behavior or am I missing something?
Thanks.