Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PivotTable to v2.21.0 #47

Closed
glebfox opened this issue Aug 22, 2018 · 7 comments
Closed

Update PivotTable to v2.21.0 #47

glebfox opened this issue Aug 22, 2018 · 7 comments
Assignees
Labels
client: web type: enhancement New feature or request ver: 6.10.0 Fixed in version ver: 7.0.0 Fixed in version
Milestone

Comments

@glebfox
Copy link
Member

glebfox commented Aug 22, 2018

Added:

  • Use barmode: 'relative' for best Plotly bar-stacking behaviour
  • showUI parameter in pivotUI() to hide UI and paper over differences between pivot() and pivotUI()
  • rowTotals and colTotals options for table renderers

Changes

New properties:

  • showRowTotals - options for row with total values (true by default);
  • showColTotals - options for column with total values (true by default);
  • showUI - it can be used only with editable PivotTable and can hide or show UI elementes (true by default).

showRowTotals and showColTotals properties work only with table-renderers (heatmap, table, etc).

Examples

  • XML:
...
<chart:pivotTable id="tipsPivotTable"
                  datasource="tipsDs"
                  showRowTotals="false"
                  showColTotals="false"
                  renderer="HEATMAP">
...
<chart:pivotTable id="tipsPivotTableUI"
                  showUI="false"
                  datasource="tipsDs"
                  editable="true">
...
  • Java:
tipsPivotTable.setShowColTotals(false);
tipsPivotTable.isColTotalsShown();
        
tipsPivotTable.setShowRowTotals(false);
tipsPivotTable.isRowTotalsShown();

tipsPivotTableUI.setShowUI(false);
tipsPivotTableUI.isShowUI();
  • Native JSON for show col and row totals:
{
   "rendererOptions": {
      "table": {
         "rowTotals": false,
         "colTotals": false
      }
   }
}
  • Native JSON for showUI property:
{
   "showUI": false
}

QA

  • check properties from XML layout
  • check properties from Java API
  • check native JSON;
@glebfox glebfox added this to the Release 6.10 milestone Aug 22, 2018
@glebfox glebfox added client: web type: enhancement New feature or request labels Aug 22, 2018
@haulmont-git haulmont-git added the ver: 6.10.0 Fixed in version label Sep 7, 2018
@haulmont-git
Copy link

Git changesets by pinyazhin:

87d60aa7 in release_6_10 - Update PivotTable to v2.21.0 #47

@haulmont-git haulmont-git added the ver: 7.0.0 Fixed in version label Sep 7, 2018
@haulmont-git
Copy link

Git changesets by pinyazhin:

8ede5be5 in master - Update PivotTable to v2.21.0 #47

@natfirst
Copy link
Member

New attributes are not loaded from the xml layout

@haulmont-git haulmont-git added the ver: 6.10.0 Fixed in version label Sep 11, 2018
@haulmont-git
Copy link

Git changesets by pinyazhin:

22466cc3 in release_6_10 - Update PivotTable to v2.21.0 #47

@haulmont-git haulmont-git added the ver: 7.0.0 Fixed in version label Sep 11, 2018
@haulmont-git
Copy link

Git changesets by pinyazhin:

5f035d3d in master - Update PivotTable to v2.21.0 #47

@natfirst natfirst assigned myatlevEvg and natfirst and unassigned natfirst and myatlevEvg Sep 12, 2018
@natfirst
Copy link
Member

Client-side exception occurs when trying to open Pivot screen.
Error sending state change events

com.google.gwt.event.shared.UmbrellaException: Exception caught: (SyntaxError) : Unexpected token .

image.png

@Flaurite
Copy link
Contributor

It is bug of messagePack in screen. See issue: cuba-platform/cuba#1306

jreznot pushed a commit that referenced this issue Jan 24, 2019
jreznot pushed a commit that referenced this issue Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client: web type: enhancement New feature or request ver: 6.10.0 Fixed in version ver: 7.0.0 Fixed in version
Projects
None yet
Development

No branches or pull requests

6 participants