public virtual void SetEditor(int columnIndex, Field editor, GridEditorOptions options) { if (options == null || options.IsDefault) { this.SetEditor(columnIndex, editor); return; } string editorCfg = "new Ext.grid.GridEditor(Ext.apply({{field:{0}}}, {1}))".FormatWith(editor.ToConfig(), options.Serialize()); this.CallColumnModel("setEditor", columnIndex, new JRawValue(editorCfg)); }