Page 1 of 1

Hidden column in grid?

Posted: Tue Oct 02, 2012 8:49 pm
by WarrenW
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

Re: Hidden column in grid?

Posted: Tue Oct 02, 2012 9:08 pm
by Klaus
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

Re: Hidden column in grid?

Posted: Tue Oct 02, 2012 9:14 pm
by WarrenW
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

Re: Hidden column in grid?

Posted: Tue Oct 02, 2012 9:37 pm
by Klaus
Hi Warren,

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


Best

Klaus