Skip to content

Conversation

@SalvatorePreviti
Copy link
Contributor

add a updatingRowData flag that prevent to call setMaster before the whole rowData is loaded by CSRM
master detail service already uses setMasters, called by CSRM, to set the row master after all the row data is loaded

We don't want to change when isMaster is called for the user while the data is loaded, and we don't want to have isMaster called twice

sdwvit and others added 10 commits September 25, 2025 12:56
 - renamed createRowCon to createRowCtrl for clarity
 - updated row control creation to respect master-detail state
 - added logic to refresh rows based on isRowMaster callback
 - introduced shouldSetMasterDetailFlag method for better readability
…-to-update-whether-they-display-an-expansion-button/AG-11882
 - Remove redundant shouldSetMasterDetailFlag method.
 - Simplify master-detail flag checks in updateDataIntoRowNode.
 - Enhance refreshRow to ensure correct rendering based on row master status.
 - Update setDataCommon to allow dynamic master flag during runtime.
…-to-update-whether-they-display-an-expansion-button/AG-11882
 - Replace updateData with updateDataInternal in multiple files for consistency
 - Simplify master determination logic in setMaster method
 - Remove unnecessary comments and improve clarity in rowCtrl and rowNode
 - Ensure internal updates do not trigger master checks unnecessarily
 - Changed from internal to external data update to trigger refreshes
 - Replace updateDataInternal with updateData in multiple files for uniformity.
 - Update master-detail service to listen for rowNodeDataChanged events.
 - Simplify setDataCommon method by removing internal flag handling.
@sdwvit
Copy link
Contributor

sdwvit commented Oct 9, 2025

thanks Salvo, let's keep it open until we come up with a good solution which may be yours

Base automatically changed from sdwvit/fix/master-detail/allow-master-rows-to-update-whether-they-display-an-expansion-button/AG-11882 to latest October 13, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants