增加 edit filter功能

在Gird一开始增加 @Serenity.Decorators.filterable()

namespace Serene7.Plan {

    @Serenity.Decorators.registerClass()
    @Serenity.Decorators.filterable()
    export class ProdOrderGrid extends Serenity.EntityGrid<ProdOrderRow, any> {
        protected getColumnsKey() { return 'Plan.ProdOrder'; }
        protected getDialogType() { return ProdOrderDialog; }
        protected getIdProperty() { return ProdOrderRow.idProperty; }
        protected getLocalTextPrefix() { return ProdOrderRow.localTextPrefix; }
        protected getService() { return ProdOrderService.baseUrl; }
        private pendingChanges: Q.Dictionary<any> = {};
        private pendingRelease: Q.Dictionary<any> = {};
        private rootCauseRecordDialog: RootCauseRecordDialog;
        constructor(container: JQuery) {
            super(container);
            this.initContextmenu();
            this.slickContainer.on('change', '.edit:input', (e) => this.inputsChange(e));

        }


}

results matching ""

    No results matching ""