This project is read-only.

Calculated columns should not appear in the Batch Edit form


Please see attached Image. The 'Is item clean' title is the title of a calculated column. There is no editor displayed for the user to provide a value for this column, as expected. However I think that the title should not appear either.

file attachments


boon_chiat wrote Jan 27, 2014 at 2:55 AM

You can exclude SPFieldType.Calculated by adding "&& (field.Type != SPFieldType.Calculated)" into line 76

if (field.ShowInNewForm.GetValueOrDefault(true) && field.FieldRenderingControl != null && (field.ShowInEditForm ?? field.CanBeDisplayedInEditForm) && (field.Type != SPFieldType.Calculated))

wrote Jan 27, 2014 at 8:18 AM

wrote Jan 27, 2014 at 8:34 AM