对xml debug的方法,在formatter.js里写上

		dummy : function (sValue) {
			debugger;
			if (!sValue) {
				return "";
			}
			return sValue.toString();
		},

在view对应的js文件里引入formatter.js并加入

formatter: formatter,

debug XML view in sapui5

xml文件加入formatter,如下

<Text text = "{path: 'tableDisplay>Carrid' ,formatter: '.formatter.dummy'}"/>

debug XML view in sapui5

相关文章:

  • 2021-07-10
  • 2021-12-08
  • 2022-12-23
  • 2021-12-12
  • 2022-02-01
  • 2022-12-23
  • 2021-09-26
  • 2021-09-10
猜你喜欢
  • 2021-06-05
  • 2021-10-08
  • 2021-10-26
  • 2021-12-15
  • 2021-08-24
  • 2021-08-18
  • 2021-09-18
相关资源
相似解决方案