Esempio n. 1
0
        protected virtual GridDisplayConfiguration CreateDisplayedColumns()
        {
            var result = new GridDisplayConfiguration();

            GridDisplayConfiguration.Mode mode = GridDisplayConfiguration.Mode.Editable;

            result.BuildColumns(ValueModel.CompoundObjectDefinition, mode, true);
            return(result);
        }
Esempio n. 2
0
        protected virtual GridDisplayConfiguration CreateDisplayedColumns()
        {
            var result = new GridDisplayConfiguration();

            GridDisplayConfiguration.Mode mode = IsInlineEditable ?
                                                 GridDisplayConfiguration.Mode.Editable
                : GridDisplayConfiguration.Mode.ReadOnly;

            result.BuildColumns(ReferencedClass, mode, true);
            return(result);
        }