Skip to content

Conversation

texodus
Copy link
Member

@texodus texodus commented Apr 8, 2019

A new API for the table.view(config) method, in order to make it more inline with the <perspective-viewer> web component API.

  • row_pivot is now row_pivots
  • column_pivot is now column_pivots
  • aggregate is now columns and aggregates; columns is an array of column names, and aggregates is a dictionary of column name to aggregate function overrides.

These changes are backwards compatible for now; attempts to use the old config properties will simple log a warning to the console.

Fixes #316 and #314 - though the latter was never technically broken.

@texodus texodus merged commit 7a7b1eb into master Apr 8, 2019
@texodus texodus deleted the api-refactor branch April 8, 2019 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant