Thursday, February 23, 2012

Hiding Title column in custom list programattically.

Dont assume that the column is Title. The internal name is LinkTitle

SPView listView = list.DefaultView;
SPViewFieldCollection listViewFieldColl = listView.ViewFields;
listViewFieldColl.Delete("LinkTitle");
listView.Update();

No comments:

Post a Comment