Rank: Newbie Groups: Member
Joined: 8/3/2008 Posts: 3
|
Hi there, I'd like to have a column in my grid that is hidden and read only? Not that I'm worried about keeping it secure so nobody can read it, it's just a unique ID that's meaningless and I don't want to confuse the user and clutter the place, is there any way of doing this? Let me know and thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You don't need a hidden column for that. The Grid has a "KeyField" property specifically for that purpose. As long as you set that property, you will then be able to access the key value either on the server side through this property: http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.GridItem.Key.htmlOr on the client side through this property: http://www.essentialobjects.com/ViewDoc.aspx?t=JSDoc.Public.GridItem.getKey.htmlHope this helps. Thanks!
|