powercat-creator-kit icon indicating copy to clipboard operation
powercat-creator-kit copied to clipboard

[Feature] DetailsList paging should show the top of the next page

Open denise-msft opened this issue 1 year ago • 2 comments

**Is this request for a new component, or additional functionality for an existing component? ** Existing component - DetailsList

Describe the component and functionality you would like to see in the starter kit DetailsList paging - going to the next page should jump to the top of the list when the next page is displayed.

Additional context If this is implemented with Setting the record, that should be explicitly called out in the documentation.

(Reported by Brian during internal Bug Bash July 2022)

denise-msft avatar Jul 15 '22 16:07 denise-msft

This can be implemented today using the 'SetFocusOnRow' event. So if you had the InputEvent property bound to ctxGridEvent, in the next page button you would use: UpdateContext({ctxGridEvent:"LoadNextPageSetFocusOnRow" & Text(Rand())});

instead of just: UpdateContext({ctxGridEvent:"LoadNextPage" & Text(Rand())});

This needs to be better documented - and perhaps the behaviour could be controlled by a property on the control.

scottdurow avatar Jul 15 '22 18:07 scottdurow

Thanks @scottdurow, we will update the documentation to reflect this. It would be great to consider this as a property to make the controls more accessible to newer users.

denise-msft avatar Sep 02 '22 09:09 denise-msft