4
Vote

Calculated columns should not appear in the Batch Edit form

description

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

comments

boon_chiat wrote Jan 27, 2014 at 1: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 7:18 AM

wrote Jan 27, 2014 at 7:34 AM