Does ColumnControl searchList support facet counts like SearchPanes?

Does ColumnControl searchList support facet counts like SearchPanes?

tacman1123tacman1123 Posts: 221Questions: 51Answers: 1

We're evaluating ColumnControl for replacing SearchPanes in our application, and we have a well-established pattern for loading faceted search options via Ajax with accurate counts that represent the entire dataset, not just the visible page.

Current SearchPanes approach:
We return facet data in the response structured like:

{
  "data": [...],
  "searchPanes": {
    "options": {
      "columnName": [
        {"label": "Value A", "value": "a", "count": 152, "total": 150},
        {"label": "Value B", "value": "b", "count": 48, "total": 150}
      ]
    }
  }
}

This allows SearchPanes to:
1. Show accurate counts for the entire dataset on initial load
2. Update counts based on cascading filters (showing only valid combinations)
3. Display both filtered count and total count when needed

ColumnControl question:
From the documentation, searchList appears to accept label and value properties in the columnControl object. Does it support additional properties like count or total to achieve similar cascading facet behavior? Or is searchList designed differently—more as a simple toggle list than a faceted search interface?

If count/cascade support isn't built in, is there a recommended pattern for handling this use case with ColumnControl?

Thanks!

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 65,565Questions: 1Answers: 10,898 Site admin
    Answer ✓

    At this time, no it doesn't I'm afraid - it is, as you say a simple toggle. The count tabs are something I will look into adding at some point in future.

    The cascade feature, I'm not sure - it isn't a priority for me to put that into ColumnControl at the moment. More likely I'll provide an integration from SearchPanes into ColumnControl for when I rewrite SearchPanes.

    Allan

  • tacman1123tacman1123 Posts: 221Questions: 51Answers: 1

    Thanks, ColumnControl looks great.

Sign In or Register to comment.