Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Re: UI5 Table - value of context popup

$
0
0

Hey,

 

thanks for your suggestion! It works but I get a fixed popup for every column stating "Key Figure Popup". I want it flexible, meaning it should show the corresponding Number to the textfield. I tried adding the variable (val1) I use for the bindProperty function for the corresponding value column but without any success... Enhancing the bindProperty function with the tooltip property is also not supported I think...

 

//Text column 
myTable.addColumn(new sap.ui.table.Column({  label: new sap.ui.commons.Label({text : "Some Text"}),  template: new sap.ui.commons.TextView({tooltip: "{Key Figure Popup}"}).bindProperty("text", {path: "Text"}),  sortProperty: "KeyFigure",  filterProperty: "KeyFigure",  width: "250px"  }));
//Value column
 myTable.addColumn(new sap.ui.table.Column({  label: new sap.ui.commons.Label({text :"Value"}),  template: new sap.ui.commons.TextField().bindProperty("value", {path:  "val1",   type: new sap.ui.model.type.Integer({   maxIntegerDigits: 100,   groupingEnabled: true,   decimalSeparator: ".",   groupingSeparator: ",",   minFractionDigits: 1,   maxFractionDigits: 1   })}),  sortProperty: "val1",  filterProperty: "val1",  width: "150px"  }));

Do you have any further suggestions?

Regards

Jan


Viewing all articles
Browse latest Browse all 8124

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>