on 02-14-2023 12:08 PM
Hello Experts,
I would like to get the object where list report column headings are stored and would like to overwrite it with some special logic. How can i find the same using java script coding ?
Below is the blueprint of how this can be achieved in your controller very easily. Of course the conditions need to be defined in the loop and depending where the header data is coming from, you need to i.e. store and retrieve it from a model..
var oTable = this.getView().byId("TableId");
var a Columns = oTable.getColumns();
aColumns.forEach(oColumn =>{
//text can be set dynamically based on coniditions
oColumn.getLabel().setText("Your Text");
});
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.