neodash icon indicating copy to clipboard operation
neodash copied to clipboard

Table multiselection is not in sync between two tables that share the same reportAction

Open alfredorubin96 opened this issue 11 months ago • 0 comments

Guidelines

Table multiselection is not in sync between two tables that share the same reportAction. We expect that two table, sharing the same columns, should be able to use the same parameter together.

To help us understand your issue, please specify important details, primarily:

  • NeoDash version: 2.4.4

  • Neo4j Database version: Any

  • Steps to reproduce

  • Expected behavior When selecting a row of one table, the other one should highlight the same values (or the rows that present the same value in the same column)

  • Actual behavior The tables modify the same parameter, but they are not in sync. Also, when selecting a row in another table, the other one resets, because it's losing the reference to its list.

Here a dashboard for testing: { "title": "New dashboard", "version": "2.4", "settings": { "pagenumber": 0, "editable": true, "fullscreenEnabled": false, "parameters": { "neodash_ciao": [ { "low": 1, "high": 0 }, { "low": 2, "high": 0 }, { "low": 3, "high": 0 } ], "neodash_ciao_display": [ { "low": 1, "high": 0 }, { "low": 2, "high": 0 }, { "low": 3, "high": 0 } ] }, "theme": "light" }, "pages": [ { "title": "New page", "reports": [ { "id": "90661604-4c49-45d1-9468-f7f8306a9957", "title": "", "query": "\nunwind range(1,5) as x \nRETURN x, \"ciao \"+x as y\n\n\n\n\n", "width": 6, "height": 4, "x": 6, "y": 0, "type": "table", "selection": {}, "settings": { "styleRules": [ { "field": "", "condition": "=", "value": "", "customization": "row color", "customizationValue": "black" } ], "actionsRules": [ { "condition": "rowCheck", "field": "", "value": "x", "customization": "set variable", "customizationValue": "ciao" } ] } }, { "id": "afb90d97-cb89-4aab-818b-dd91469004e6", "title": "", "query": "\nunwind range(1,5) as x \nRETURN x, \"ciao \"+x as y\n\n\n\n\n", "width": 6, "height": 4, "x": 12, "y": 0, "type": "table", "selection": {}, "settings": { "styleRules": [ { "field": "", "condition": "=", "value": "", "customization": "row color", "customizationValue": "black" } ], "actionsRules": [ { "condition": "rowCheck", "field": "", "value": "x", "customization": "set variable", "customizationValue": "ciao" } ] } } ] } ], "parameters": {}, "extensions": { "active": true, "activeReducers": [], "access-control-management": { "active": true }, "advanced-charts": { "active": true }, "styling": { "active": true }, "actions": { "active": true } }, "uuid": "bfcff116-d553-4e6d-bf21-06840f446dfb" }

alfredorubin96 avatar Mar 28 '24 16:03 alfredorubin96