|
<div component="$UI/system/components/justep/data/data" xid="newsData"
idColumn="fID" autoLoad="true">
<data xid="default10">[ {"fID":"1","fTitle":"主数据1"}, {"fID":"2","fTitle":"主数据2"} ]</data>
<column label="ID" name="fID" type="String" xid="default1"/>
<column label="标题" name="fTitle" type="String" xid="default3"/>
<master xid="default6" data="newsData" relation="fID"></master></div>
<div component="$UI/system/components/justep/data/data" xid="newsData1"
idColumn="tID" autoLoad="true">
<data xid="default10">[ {"tID":"1","fTitle1":"从数据","aid":"1"},
{"tID":"2","fTitle":"从数据2","aid":"1"} ]</data>
<column label="ID" name="tID" type="String" xid="default11"/>
<column label="标题" name="fTitle" type="String" xid="default13"/>
<column label="主ID" name="aid" type="String" xid="default15"/>
<master xid="default7" data="newsData" relation="aid"></master></div>
设置了这两个data,是否是通过<master xid="default7" data="newsData" relation="aid"></master>
来进行绑定呢?应该怎么进行调用呢?
没有找到相关教程。求demo |
|