Page 1 of 1

hiding column

PostPosted: Sat Jan 22, 2011 8:20 pm
by bjlockie
I have an autoincrement column that I use as a unique ID but there is no point showing it to the user.
Is there any way to make xataface not display it?
If I have to display it, can I make it non editable?

Re: hiding column

PostPosted: Sat Jan 22, 2011 8:40 pm
by shannah
are you wanting to hide it list view, details view, or on the edit form?

Auto increment fields aren't displayed on the edit form by default. To hide a field in list view you could add:
Code: Select all
visibility:list=hidden


or

Code: Select all
visibility:browse=hidden

for the details view.


If it is showing up in the edit form you might want to double check and make sure that the field is indeed set as auto increment.

(Side Note: To hide a field from the edit form it is probably best to use permissions, but you can also set widget:type=hidden).

-Steve

Re: hiding column

PostPosted: Sat Jan 22, 2011 9:50 pm
by bjlockie
Thanka.
I want to hide it everywhere. :-)