xplain.ux.widget.groupby.Html
An
xgroupbyHtml
is a panel that depicts an groupBy in a very short and simple way (basically as a string “Object.Dimension.Attribute”). You may integrate this panel into your UI.
xgroupbyShowVis
extends Ext.panel.Panel. Thus, anxgroupbyShowVis
can be resized, has a height and width, etc.
Config Parameters
- groupBy = null
An instance of
Xplain.Db.GroupBy
(required). The groupBy to depict.
- limitPerElement = 99
Each element (object, dimension, attribute) is truncated after this number of characters.
A function that will be executed after the user edited this groupBy and clicked on the “okay” Button. The
data
parameter passed to this function will consist of the groupBy in raw format. You may build an instance ofXplain.Db.GroupBy
by using something likevar gp = new Xplain.Db.GroupBy(data)
in the function.
- delimiter = '.'
The delimiter used between the elements. Defaults to a dot, i.e. the output will be something like
object.dimension.attribute
.