I am currently working on dataset control and faced a weird issue related to paging.
I observed this issue on Opportunty entity when I use property-set in my PCF control and in property-set field select any field other than name(primary attribute).
The issue is when I am on OOB grid page no 2 and then switch to my datalist control. I am getting record which are on page no 1 and not page no 2.
I checked in the debugger for the 1st time in the init and update view is called the no records are coming in context.parameters.sampledatset.records.
And after 2 update view call I am getting Page 1 records.
I am not getting this issue if select name field in my propertyset.
Below is the screenshot first time it came null and second the record of first page is coming.
I am attaching the sample control code for reference. Let me know if need any other details regarding the issue.
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72