Skip to content

Hide aggregated values when expanding rows? #404

@smped

Description

@smped

It might be just me with poor JS skills, but I haven't been able to find a way to hide aggregated values when I expand rows. Is there a way to make this happen? To me, it would really declutter the tables.

I often use a summarisation function like the following, which returns the maximum values in the aggregated row, but I don't want to see these summaries once I've expanded everything.

max_js <- htmlwidgets::JS(
  "function(values) {
      var max_val = Math.max(...values)
      return '<' +  max_val.toExponential(2).toString() 
    }"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions