PowerApps canvas apps not displaying in middle of screen after published. It goes to top left of the screen but not at the middle as usual. But preview in apps is normal displaying in the middle.
Display setting is in default as screenshot.
Any idea of how to make it back to middle of screen for published version?
Efficient way is when retrieving data - Apply the sorting directly at the query level (if possible).- let sortedData = await context.webAPI.retrieveMultipleRecords('entityName', `$orderby=name asc`);
or
Ensure the array is sorted before rendering.- // Assuming 'items' is the array used to render events
items.sort((a, b) => a.name.localeCompare(b.name));
pls try and let me know how it goes.
thanks
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.