mysticfall / pivot4j

Pivot4J provides a common API for OLAP servers which can be used to build an analytical service frontend with pivot style GUI.
Other
128 stars 99 forks source link

Add a method to calculate indentation of member cells #36

Open mysticfall opened 11 years ago

mysticfall commented 11 years ago

Typically, pivot grid renders its member cells on the row axis in hierarchical manner (when showParentMembers is set to 'false')using indentation.

Currently, RenderContext interface does not provide reliable information to caculate such indentation except by getMember().getDepth() which is problematic if the top level member represented in the UI is not actually the top level member in its hierarchy.