Row grouping 3 level - 3rd level row indent
Row grouping 3 level - 3rd level row indent
I have a 3 level of grouping in table. How can we indent third level. For example AA being Primary group, BB being Secondary group, and CC being leaf level rows below Secondary group. I want to add some indent say 5 spaces on left on CC, how can we do it?
Here is my grouping code:
[code]
.rowGrouping({ iGroupingColumnIndex2: 1,
fnGroupLabelFormat: function (label) { return "" + label + " - (Primary Group)"; },
sGroupLabelPrefix2: "",
fnGroupLabelFormat2: function (label) { return "" + label + " - (Secondary Group)"; },
sGroupLabelPrefix2: ""
});
[/code]
Here is my grouping code:
[code]
.rowGrouping({ iGroupingColumnIndex2: 1,
fnGroupLabelFormat: function (label) { return "" + label + " - (Primary Group)"; },
sGroupLabelPrefix2: "",
fnGroupLabelFormat2: function (label) { return "" + label + " - (Secondary Group)"; },
sGroupLabelPrefix2: ""
});
[/code]
This discussion has been closed.
Replies
Allan
br,
nkal