Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Displaying compact properties #196

Open
kikisp opened this issue Mar 14, 2016 · 1 comment
Open

Displaying compact properties #196

kikisp opened this issue Mar 14, 2016 · 1 comment
Assignees
Labels

Comments

@kikisp
Copy link

kikisp commented Mar 14, 2016

I was looking through code base and all the issues and couldnt find anyithing usefuul.. We are using pivot4j 0.9 and have simillar problem described here #188
So to go around this and compact table we want to find some way to maybe display all properties from all levels in a popup.So what the best way or is there a way to get all properties programmably,so we can send them as json to frontend.
Thanks,
Stefan

@mysticfall
Copy link
Owner

If you are willing to write a custom code to read properties and send them as json data, it becomes a much easier problem as the difficulty lies mostly in how to render them as a grid.

Maybe you can start by making a command(extending UICommand) to render a 'show properties' button for each members. Then you can implement its execute method to extract the parameter and get an instance of the relevant Olap4J Member.

From there, the rest is quite easy as all you have to do is invoke getProperties() on it and convert the returned data as JSON and send them to the client side.

If you need any further assistance in implementing it, please don't hesitate to ask. And sorry for the late response.

@mysticfall mysticfall self-assigned this Mar 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants