DataView Grid columns
I'm new to PrimeVue (v2.9.2). I've been trying to use the DataView component. Everything works fine but I would like to change the number of columns of the grid template. It's set to 3 by default. Is there any property I can change to set the columns to 4?
-
- Posts: 84
- Joined: 06 Sep 2022, 08:59
Hi,
You should change #grid slot's first container class. For example:
<div class="col-12 md:col-4"> to <div class="col-12 md:col-3">
You should change #grid slot's first container class. For example:
<div class="col-12 md:col-4"> to <div class="col-12 md:col-3">
-
- Information
-
Who is online
Users browsing this forum: No registered users and 19 guests