Guide to Filtering Data in AdapTable

View as Markdown

Summary

  • AdapTable provides 2 ways to filter Grid Data (which can both operate at the same time):
    • Column Filter - filters a single Column (but with multiple conditions)
    • Grid Filter - filters across multiple Columns
  • Both types of Filter use AdapTableQL Expressions

AdapTable provides 2 ways of filtering Grid Data - Column Filters and Grid Filter:

Important

  • Column Filters and the Grid Filter complement, and work in conjunction, with each other
  • Both can be active at the same time - only rows which pass both Filters are visible

Column Filters

  • Filter a single Column
  • Multiple conditions with AND / OR
  • Filter Bar and Filter Form
  • Re-applied as Grid data changes

Grid Filter

  • Filter across many Columns
  • Boolean AdapTableQL Expressions
  • Save and re-run as Named Queries
  • Includes column-comparison Filters

Working Together

Column Filters and the Grid Filter are often used at the same time.

Each Column Filter narrows one column, while the Grid Filter applies a boolean expression across the row.

Only rows that pass every active filter are shown.

Column Filters with a Grid Filter
Fork
  • This example shows both Filter types working in conjunction with each other
    • Grid Filter — open-source licence (MIT or Apache), activity (github_watchers or github_stars), and last push after mid-2016
    • Column Filters — language limited to TypeScript or JavaScript; github_stars between 5,000 and 90,000
Loading demo…