如何在kendo UI网格中添加自定义过滤器?

时间:2017-09-06 11:35:02

标签: angular kendo-ui

我想在我的剑道网格中添加客户过滤器。

我想在某些情况下使用搜索字符串,在某些情况下编号和比较字符串。

 <kendo-grid [kendoGridBinding]="_jobsPostedDetails" [pageSize]="gridComfig.firstPageSize" [sortable]="gridComfig.sortable"
            [pageable]="{refresh: true,pageSizes: true,buttonCount: 5}" [filterable]="gridComfig.filterable" [height]="gridComfig.firstHeight">
            <ng-template kendoGridToolbarTemplate>
                <button type="button" kendoGridExcelCommand><span class="k-icon k-i-file-excel"></span>Export to Excel</button>
            </ng-template>
            <!--<kendo-grid-column field="_idRestaurant" title="Restaurant Account" filter="numeric" width="150"></kendo-grid-column>-->
            <kendo-grid-column field="restaurantType" title="Restaurant Type" width="150" ></kendo-grid-column>

            <kendo-grid-column field="experience" title="Experience" width="150"></kendo-grid-column>
            <kendo-grid-column field="postedDate" title="Job Created Date" width="250">
                <ng-template kendoGridCellTemplate let-dataItem>
                    {{dataItem.postedDate | date:ShortDate}}</ng-template>
            </kendo-grid-column>

        </kendo-grid>

0 个答案:

没有答案