0

这是简短的代码,请分享您的想法,我正在使用 struts2-jquery-grid-plugin-3.2.1

   <s:url id="remoteurl"  action="CustomExtaction" namespace="/forcustomtemplete"/>                                                 
                                <sjg:grid
                                    id="gridtable"
                                    caption="Exercises "
                                    dataType="json"
                                    href="%{remoteurl}"
                                    gridModel="gridModel"
                                    cssClass="ui.jqgrid"
                                    height="345"
                                    width="1285"
                                    onSelectRowTopics="rowselected"
                                    loadonce="true"
                                    >
                                    <sjg:gridColumn name="exidd" cssClass="ui.jqgrid"  index="exId" title="Exercise Name" sortable="true" key="true" />
                                    <sjg:gridColumn name="sets" cssClass="ui.jqgrid" index="sets" title="Sets" sortable="true" key="true" />
                                    <sjg:gridColumn name="reps" cssClass="ui.jqgrid" index="reps" title="Reps" sortable="true" key="true"/>
                                    <sjg:gridColumn name="imgpath" cssClass="ui.jqgrid" align="center" index="imgpath"  title="Image" key="true" sortable="true"  formatter="formatLink"  />
                                </sjg:grid>
4

0 回答 0