更新时间:2023-11-25 08:07:46
如果 someComponentVariable
是包含 DataGrid
的类的公共属性,则可以使用 outerDocument
从 component
访问它.
If someComponentVariable
is a public property of the class enclosing DataGrid
, you can use outerDocument
to access it from a component
.
<ns1:SidePanelBonus bonusName="{data.name}" description="{data.description}"
arrow="{outerDocument.someComponentVariable}">
</ns1:SidePanelBonus>
请参阅 创建内联项目渲染器和编辑器 以了解有关 outerDocument
See the "using the Component tag" section in Creating inline item renderers and editors for more info about outerDocument