此代码针对JEECG框架来使用。
话不多说,上代码:
<t:datagrid name="trainingParticipationList" title="列表" actionUrl="" idField="id" sortOrder="asc" sortName="trainingTheme" checkbox="true" queryMode="group" pageSize="20" fit="true" fitColumns="true">
<t:dgCol title="选我" field="sceneId" dictionary="表名,主键ID,要在此显示的字段值" extendParams="editor:{type:'combobox',options:{url:'trainSupermarketController.do?selSceneName&trainingInfoId=${trainingInfoId}',valueField:'sceneId',required:true,textField:'sceneName'}}" width="100"></t:dgCol>
<t:dgCol title="赋值1" field="trainingAddressId" hidden="true" extendParams="editor:'text'" query="false" width="10"></t:dgCol>
<t:dgToolBar title="编辑" icon="icon-edit" funname="editRow"></t:dgToolBar>
<t:dgToolBar title="保存" icon="icon-save" url="trainSupermarketController.do?saveRows" funname="saveData"></t:dgToolBar>
<t:dgToolBar title="取消编辑" icon="icon-und

最低0.47元/天 解锁文章
2313

被折叠的 条评论
为什么被折叠?



