1.t:datagrid的常用属性
1.
<t:datagrid name="jeecgDemoList" checkbox="true" sortName="birthday" sortOrder=“desc” pageSize="10" queryMode="group" onClick="fun_tel(rowIndex,rowData);" pagination="true" fitColumns="false" title="jeecg_demo" actionUrl="jeecgListDemoController.do?datagrid" idField="id" fit="true" queryMode="group">
2.
<t:dgCol title="年龄" extend="{style:'width:50px'}" style="background-color:#3a87ad_50,background-color:#f89406_100" editor="numberbox" field="age" query="true" width="120"></t:dgCol>
<t:dgCol title="生日" hidden="true" field="birthday" formatter="yyyy-MM-dd" queryMode="group" width="120"></t:dgCol>
<t:dgCol title="发送状态" field="fstatus" width="180" query="true" replace="已发送_1,未发送_0" style="color:red;_0,color:green;_1" ></t:dgCol>
3.
<t:dgDelOpt title="删除" url="jeecgListDemoController.do?doDel&id={id}" urlclass="ace_button" urlfont="fa-trash-o" urlStyle="background-color:#ec4758;" />
<t:dgFunOpt exp="status#eq#N" title="审核" funname="szqm(id)" urlclass="ace_button" urlfont="fa-check" />