简体   繁体   中英

filter of Kendo UI grid angular 2

I want dropdown filter in my data table like this:

在此处输入图片说明

I have used data table of kendo UI with multi-column headers.

anyone having any suggestion??

its difficult do understand what the problem you have got. But apparently you need to look at the kendoGridFilterCellTemplate

<kendo-grid-column field="UnitsInStock" title="Units In Stock" [width]="300" [locked]="false">              
                <ng-template kendoGridFilterCellTemplate let-filter let-column="column">
                        <select>
                        <option value="1">0.33</option>
                        <option value="2">0.32</option>
                        <option value="3">0.73</option>
                      </select>
                     </ng-template>                  
                </kendo-grid-column>

plunker https://plnkr.co/edit/aDKZ4hbLOlZ8DqD7bzyn?p=preview

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM