on 12-03-2014 9:46 AM
Hi guys I use table group below
How to insert manual text marked location in the picture ?
Thanks for help.
Hi,
1. Your JSFiddle uses a Table, but your screenshot looks like a TreeTable.. can you update the fiddle?
2. What exactly do you mean by 'manual text'? What text are you trying to show? Is this text fixed? Is it part of the data in the model?
Regards,
Pritin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh sorry, my bad - your fiddle is correct!
As for your question, I did a bit of digging into the standard implementation of the sap.ui.table.Table control, and it seems like there is no way to adjust this text. While rendering group headers, the following method is used to get the text and there doesn't seem to be any way to override this.
getTitle: function(iIndex) {
var oContext = aContexts[iIndex];
return oContext && !(oContext instanceof sap.ui.model.Context) && (oContext["name"] + " - " + oContext["count"]);
},
Also worth noting, is that grouping in sap.ui.table.Table is marked as experimental - API/behaviour can change in future releases.
Regards,
Pritin
Any help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.