在SAPUI5中创建矩阵布局,错误“;预期的标识符、字符串或数字“; 上述代码段的哪一行出现错误?@line 2 id=“matrix11”它要求我提供stirng或number作为id…您的代码工作正常。请看这里: var oLayout = new s

在SAPUI5中创建矩阵布局,错误“;预期的标识符、字符串或数字“; 上述代码段的哪一行出现错误?@line 2 id=“matrix11”它要求我提供stirng或number作为id…您的代码工作正常。请看这里: var oLayout = new s,sapui5,Sapui5,在SAPUI5中创建矩阵布局,错误“;预期的标识符、字符串或数字“; 上述代码段的哪一行出现错误?@line 2 id=“matrix11”它要求我提供stirng或number作为id…您的代码工作正常。请看这里: var oLayout = new sap.ui.commons.layout.MatrixLayout({ id :"matrix11", layoutFixed : false }); var oImage1 = new sap.ui.comm

在SAPUI5中创建矩阵布局,错误“;预期的标识符、字符串或数字“;
上述代码段的哪一行出现错误?@line 2 id=“matrix11”它要求我提供stirng或number作为id…您的代码工作正常。请看这里:
var oLayout = new sap.ui.commons.layout.MatrixLayout({
        id :"matrix11",
    layoutFixed : false
    });

var oImage1 = new sap.ui.commons.Image({
    src :  "../Mushirul/images/cancel.png",
    alt : "alternative text for image"
    });

var oImage2 = new sap.ui.commons.Image({
    src : "../Mushirul/images/cancel.png",
    alt : "alternative text for image"
    });

oLayout.createRow( oImage1, oImage2 );  

var oImage3 = new sap.ui.commons.Image({
    src : "http://www.sap.com/global/images/SAPLogo.gif",
    alt : "alternative text for image"
    });

var oImage4 = new sap.ui.commons.Image({
    src : "http://www.sap.com/global/images/SAPLogo.gif",
    alt : "alternative text for image"
    });

oLayout.createRow( oImage3, oImage4 );