DetailsList Control - How can I preserve display information after updated and refreshed? #161
Unanswered
yaseralhosani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
EventRowKey generates a unique key by default unless a column from DataSource is specified in DetailsList.RecordKey. This way, I can preserve the selected record when it is updated.
Based on what I understand from the Documentation, I'm unsure if this is correct; because EventRowKey continuously changes by default unless I set a unique key column from the DataSource, and it keeps changing even I set a unique key column from DataSource, and yet it takes randomly from EventRowKey.
I'm facing a challenge when the selected record disappears and whatever information was displayed in the chart, gallery, textbox, and label disappears when the record is updated or refreshed, and the selected record has not been clear in DetailsList, which is fine.
Example Demo (Please wait for loading)
![ezgif-3-78a32f5053](https://user-images.githubusercontent.com/5079423/197157699-44a9a8b2-8641-497c-9435-094a0c611e5f.gif)
Using Basic FX in the followings:-
DetailsList As dtlPMSData_RS:
dtlPMSData_RS.OnSelect:
dtlPMSData_RS.OnChange:
Labels:
Label1.Text:
_CurrentRecord.[ColumnName]
Label2.Text:
LookUp(DataSource,ThisRecord.Key=_CurrentRecord.Key).[ColumnName]
Chart
ColumnChart:
_CurrentRecord.[ColumnName]
Gallery
Textbox1.Default:
Refresh Button:
OnSelect:
Refresh(PMSData)
Patch Button OnSelect
Beta Was this translation helpful? Give feedback.
All reactions