angular-ui/ui-grid

Pagination not showing correct values when filter based on term in grid column dropdown.

已關閉

#5,480 建立於 2016年6月20日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (2,496 個分叉)batch import
good first issue

倉庫指標

星標
 (5,395 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

uigridissue Hi, I am using UI-GRID "ui-grid - v3.1.1-de01b2b - 2016-05-27".I am facing this issue when In my grid options. { displayName: "STATUS" , field:"profileStatus", cellFilter: "statusFilter", width:150, cellTemplate: SFH_GlobalServices.services.GridTemplateService.statusSwitchCellTmpl("row.entity.profileStatus"), headerCellTemplate:SFH_GlobalServices.services.GridTemplateService.selectHeaderCellTmpl("StatusFilter"),
filter: { term: "A", selectOptions: [ { value:null ,label:"All"}, { value: "A", label: "Active" }, { value: "I", label: "Inactive" } ] } },

I selected term as "A" for all active record hence while grid loads it shows all active record only and filter inactive one which is correct approach but in my pagination it shows count for all records and accordingly number of pages and once we click on prev or next page it corrects it self. Kindly provide me fix for this. uigridissue

貢獻者指南