JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Card View › How to force to have only 2 cards per row ? › Reply To: How to force to have only 2 cards per row ?
March 1, 2024 at 10:50 am
#109908
fabriceb
Participant
Here is the soluce : just change this css variable : –smart-card-view-column-min-width
I do it directly in js after init of the cardview :
<div>$(“#myCard”).css(“–smart-card-view-column-min-width”, “600px”);</div>
<div></div>
<div>fabriceb</div>