Change the default gallery layout in Canvas App(PowerApps)

Introduction

This blog explains how to change the layout of the gallery in the canvas app(PowerApps).

We will see how we can display data in more than one column for the vertical galley and also how we can display data in more than one row for the horizontal gallery.

As we know in PowerApps we have Vertical, Horizontal and Flexible Height Gallery options.

  • If we select Vertical gallery it displays data in one column as shown below.
  • If we select horizontal gallery it displays data in one row as shown below.

Follow below steps to change this behavior:

  1. Select your Gallery control and go to the “WrapCount” property and update its value.

After updating it to 3 you can see now data is being displayed in 3 columns instead of 1.  

Similarly for Horizontal gallery,

  1. Select your Gallery control and go to the “WrapCount” property and update its value.

After updating it to 3 you can see now data is being displayed in 3 rows instead of 1.  

I hope you find this helpful!

Leave a Reply

Your email address will not be published. Required fields are marked *