Hidden column in grid?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
WarrenW
Posts: 27
Joined: Tue Oct 02, 2012 4:26 pm

Hidden column in grid?

Post by WarrenW » Tue Oct 02, 2012 8:49 pm

Hi,

Can the grid have a hidden column with data? So if I click on a row or a button I add to each row, can i retrieve the value of the cell for the hidden column and use it? For example, if I list people's names and when they are clicked I want to pass their account number to do something else, I don't want to show the account number. So I thought maybe a hidden column would work. Can it?

Thanks,

Warren

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Hidden column in grid?

Post by Klaus » Tue Oct 02, 2012 9:08 pm

Hi Stephen,

sure this is possible!
That's why there is a checkbox "Column is hidden" in the "Columns" section in the "Inspector" for the datagrid! 8)

Retrieve it like any other "visible" column".


Best

Klaus

WarrenW
Posts: 27
Joined: Tue Oct 02, 2012 4:26 pm

Re: Hidden column in grid?

Post by WarrenW » Tue Oct 02, 2012 9:14 pm

Thanks! I wasn't sure with it set to invisible that I could retrieve the data still. I guess I'm still thinking of gridviews in asp coding. :D

Warren

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Hidden column in grid?

Post by Klaus » Tue Oct 02, 2012 9:37 pm

Hi Warren,

sorry, of course the checkbox reads "column is VISIBLE".
But: invisible <> non existent 8)


Best

Klaus

Post Reply