Skip to content
OGE logoOGE

Filtering

All four filtering surfaces on one grid: type in the filter row (click the operator button to switch Contains → Starts with → …), open a header filter and search inside its values, use the global search (matches are highlighted), or click the filter panel at the top to open the Filter Builder for arbitrary and/or trees.

filterRow headerFilter searchPanel filterPanel filterValue
2.000 rows all filter surfaces
No commands to display
Id
First Name
Last Name
Department
City
Salary
Hire Date
1
Can
Yılmaz
HR
Bursa
71000
2021-10-07
2
Deniz
Doğan
Engineering
İzmir
57000
2024-03-22
3
Deniz
Demir
Engineering
Bursa
48000
2023-04-22
4
Selin
Demir
Engineering
Antalya
58000
2017-02-14
5
Zeynep
Demir
Support
Bursa
109000
2019-12-08
6
Ayşe
Doğan
HR
Ankara
100000
2020-10-19
7
Zeynep
Şahin
Support
Ankara
45000
2021-01-27
8
Ali
Şahin
Finance
Ankara
89000
2023-04-28
9
Elif
Demir
Support
İstanbul
96000
2015-01-21
10
Mert
Aydın
HR
Antalya
93000
2024-04-15
11
Elif
Kaya
Sales
Bursa
42000
2020-02-09
12
Can
Çelik
Engineering
Ankara
116000
2015-04-23
2,000 rows

Excel-style filter menu

headerFilter.mode picks what the funnel opens: 'list' (the default value checklist with search and select-all), 'conditions' (two operator + value conditions joined by And / Or) or 'both'. Date columns list their values as a collapsible year → month → day tree. The conditions are stored as a filter expression, so they persist with stateKey.

headerFilter.mode date tree
First Name
Salary
Hired
Ali
61000
5/2/2020
Deniz
62000
11/19/2020
Can
39000
8/4/2020
Zeynep
112000
5/3/2022
Zeynep
77000
9/7/2018
Ayşe
40000
3/12/2015
Ayşe
98000
10/5/2016
Deniz
92000
5/2/2016
80 rows

Filter chips and column summaries

filterChips shows every filter that narrows the rows as a removable chip — Column · operator · value — with a clear-all button; removing a chip also empties its editor. summaryMenu adds a Summary submenu to the header context menu (right-click a header): Count for any column, Sum / Avg / Min / Max for numbers. The pick persists with the grid state. In a value list, empty and missing values are one (Blank) item.

filterChips summaryMenu (Blank)
No commands to display
First Name
City
Salary
Zeynep
Antalya
61000
Zeynep
İstanbul
112000
Ali
İzmir
71000
Mert
59000
Emre
İzmir
97000
Deniz
İzmir
35000
Deniz
Bursa
105000
Mehmet
Ankara
117000
60 rows

Filter tools

headerFilter.auto puts the value list only on columns whose values repeat (Department, City). Salary filters with a range slider (filterRange), Department with a custom cell (ogeFilterCellTemplate / renderFilterCell). Open the Hired funnel for the quick dates (dateFilterPresets). filterApplyMode: 'manual' holds every edit until Apply filters, and Views (savedViews) saves and reopens named states.

headerFilter.auto filterRange dateFilterPresets filterApplyMode savedViews
No commands to display
First Name
Department
City
Salary
Hired
Ali
Engineering
İstanbul
61000
5/2/2020
Deniz
Engineering
İzmir
62000
11/19/2020
Can
Finance
Ankara
39000
8/4/2020
Zeynep
Engineering
Ankara
112000
5/3/2022
Zeynep
Finance
İstanbul
77000
9/7/2018
Ayşe
Sales
Antalya
40000
3/12/2015
Ayşe
Support
Antalya
98000
10/5/2016
Deniz
Sales
İstanbul
92000
5/2/2016
80 rows

Display values and Turkish sorting

The search box and the Name filter match what the cells show: leave finds the Status label behind code 1 (a static lookup), ada k finds a full name built by calculateFilterValue. Sort City: sorting.locale: 'tr' puts Isparta (dotless I) before İnegöl, where an English sort would not. On a server source, filterField sends a column's filters under another field.

calculateFilterValue lookup search sorting.locale filterField
No commands to display
Name
Status
City
Ayşe Yılmaz
Active
İzmir
Zeynep Demir
On leave
Isparta
Can Arslan
Former
Çanakkale
Zeynep Çelik
Active
Uşak
Selin Şahin
On leave
İstanbul
Deniz Demir
Former
Ankara
Elif Kılıç
Active
Şanlıurfa
Deniz Öztürk
On leave
Iğdır
Can Arslan
Former
İnegöl
Elif Doğan
Active
Ödemiş
Emre Arslan
On leave
İzmir
Emre Öztürk
Former
Isparta
Deniz Şahin
Active
Çanakkale
Selin Arslan
On leave
Uşak
Zeynep Kaya
Former
İstanbul
Mehmet Kaya
Active
Ankara
Selin Yılmaz
On leave
Şanlıurfa
Zeynep Arslan
Former
Iğdır
Zeynep Demir
Active
İnegöl
Ayşe Arslan
On leave
Ödemiş
20 rows

Notes

  • Open the Hire Date header filter: date values are grouped into a year tree — the year checkbox toggles all its dates at once and the search box matches years or single dates.
  • Every surface produces the same serializable FilterExpr tree — combined with AND and sent to your backend unchanged in remote mode. What each operator means, blank cells included, is the filter contract; its JSON test vectors let a server prove it returns the same rows.
  • A value list cascades like Excel's: it lists the values left by the other columns' filters and the search text, ignoring the column's own selection. On a server source the list's search box asks distinct() again 250 ms after typing stops.
  • "Is blank" matches null, empty and whitespace-only cells, and "does not equal" or "not on that day" keep blank rows.
  • The operator button in each filter cell offers dataType-appropriate operators; Reset returns to the column default.
  • [(filterValue)] is two-way: set it programmatically, read what the builder produced, persist it — it also participates in stateKey.
  • Search highlighting only touches default cells; custom *ogeCellTemplate content is never rewritten.