possible to specify something like 'not in default view' instead of 'isHidden'?

LabKey Support Forum (Inactive)
possible to specify something like 'not in default view' instead of 'isHidden'? Ben Bimber  2010-03-16 15:12
Status: Closed
 
table metadata lets us set 'isHidden' for a field, which makes it either hidden or not. is it possible to set something like 'not in default grid', which does exactly what it sounds like, except doesnt make this a hidden field? it seems to me that hidden fields should be those we dont actually want users seeing b/c they are confusing or we just dont want them visible. Not in default view applies that it's available, but we simply dont want to see it in most grids.
 
 
jeckels responded:  2010-03-16 17:56
Hi Ben,

isHidden is the only way to do this right now - as you've noted, it's overloaded.

In 10.2, you'll be able to specify a default customized view using a .qview.xml file in file based modules.

Thanks,
Josh
 
Ben Bimber responded:  2010-03-17 07:45
hi josh,

that seems like a good idea. one thing that would be nice is if the default view could contain both positive and negative selection of columns. for example, say I set a default view because I dont want column X to show up. Then I add a new column to the table. I need to change the default view in order for this new column to show up. Granted, this is a minor inconvenience and once our system is more developed columns will probably change less.