GridView Row Merge

Post your Gambas programming questions here.
Post Reply
AndyGable
Regular
Posts: 419
Joined: Wed Dec 02, 2020 12:11 am
Location: Northampton, England
Contact:

GridView Row Merge

Post by AndyGable »

Hi all you experts

I have a GridView that has the following columns

Barcode
Description
Price
DiscountOption

When I do a exchange I add 110 "-" and to make it show fully I need to merge the row into a single row

Is this possible? I'm using 3.19.5 at the moment

Andy
BruceSteers
Legend
Posts: 2093
Joined: Thu Jul 23, 2020 5:20 pm
Location: Isle of Wight

Re: GridView Row Merge

Post by BruceSteers »

if you set a gridview columns width to -1 it will auto expand/shrink to fully show the text.

GridView1.Columns[2].Width = -1
vuott
Regular
Posts: 310
Joined: Wed Apr 05, 2017 6:07 pm
Location: European Union

Re: GridView Row Merge

Post by vuott »

Europaeus sum !

Amare memorentes atque deflentes ad mortem silenter labimur.
Post Reply