I have a datagrid with 4 columns like name, address, etc. One column is a 5 digit employee ID that I don't want people to see. But I want to be able to retrieve this ID in my actionscript if I need it.
I thought I might just be able to set a column width of 0. But that doesn't work. It forces the column to be a few pixels wide at least.
Here is some various code I've tried with no luck.
theDataGrid.columns.width = 0;
theDataGrid.getColumnAt(4).visible = false;
theDataGrid.getColumnAt(4)._visible = false;
theDataGrid.columns.headerText = "";
Instead of hiding maybe can I attach it to the array without showing it? I don't see a way.
I must note that I am using a third party "Drag and Drop DataGrid Component" from Drumbeatinsight. However their documentation says that this component extends the Macromedia datagrid component so all those functions should be accessible to me.