테이블의 헤더에 버튼이있는 테이블을 만들려고합니다. 나는 here에서 안내하고있다.툴바 구성 요소 안의 콘텐츠 요소가 작동하지 않습니다.
<core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc"
xmlns="sap.m"
xmlns:l="sap.ui.layout"
xmlns:f="sap.ui.layout.form"
xmlns:t="sap.ui.table"
height="100%"
controllerName="xxxxx"
xmlns:html="http://www.w3.org/1999/xhtml">
<Page title="CONFIGURACIÓN DE LA CUENTA" navButtonPress="onCancel" showNavButton="true">
<content>
<f:SimpleForm id="form_requerimiento_datos_generales" minWidth="1024"
maxContainerCols="2" editable="true" layout="ResponsiveGridLayout"
labelSpanL="4" labelSpanM="4"
emptySpanL="0" emptySpanM="0" columnsL="2" columnsM="2"
validateFieldGroup="onValidateFieldGroup">
<f:content>
<core:Title text="Suscripciones"/>
<t:Table
rows="{/Subscriptions?$filter=UserSystem eq '1'}"
selectionMode="None"
visibleRowCount="7">
<t:toolbar>
<content>
<Title id="title" text="Listado de Suscripciones" />
<ToolbarSpacer/>
<Button
icon="sap-icon://add"
tooltip="Agregar Suscripciones"
press="addSuscription"/>
</content>
</t:toolbar>
<t:columns>
<!--columns-->
</t:columns>
</t:Table>
</f:content>
</f:SimpleForm>
</content>
</Page>
</core:View>
나는 오류 메시지가 다음과 같습니다 :이 오류가 왜 모르겠어요
Uncaught Error: failed to load 'sap/m/content.js' from https://sapui5.netweaver.ondemand.com/resources/sap/m/content.js: 0 - NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://sapui5.netweaver.ondemand.com/resources/sap/m/content.js'.
이
내 코드입니다. 콘텐츠 라벨이 도구 모음 라벨 (예에서이 작품) 내에서 허용되지 않는 이유를 모르겠어요<t:toolbar>
<content>
<Title id="title" text="Listado de Suscripciones" />
<ToolbarSpacer/>
<Button
icon="sap-icon://add"
tooltip="Agregar Suscripciones"
press="addSuscription"/>
</content>
</t:toolbar>
: 나는 그것은 코드의이 부분에 있다고 생각합니다. 내 페이지의 콘텐츠 라벨을 벗을 때. 오류 메시지가 표시되지 않습니다.
내 문제를 해결하기 위해 무엇을하는지 알고 싶습니다.
도움 주셔서 감사합니다!
UPDATE 1
난 이미 내 문제를 해결하지만 지금은 또 다른 문제가 있습니다. 나는 테이블 헤더의 CSS에 문제가 (이 표 본체와 겹쳐지는)이 있습니다
장소 도구 모음 테이블 전에 확인이. – santhosh