gigaZhang / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

Grid displays extra unwanted rows #792

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem?

What is the expected output? What do you see instead?
Grid should displayed properly without extra unwanted footer and header row

Which struts2 version?
2.1.8.1

Which struts2-jquery plugin version?
2.5.1

Find attached Screen shot of grid

Code which I have used to display Grid : 

<sjg:grid id="gridfile"
            caption="Uploaded File List" dataType="json"
            href="%{remoteurl8}" pager="true" page="1"
            gridModel="gridModel" rowList="5,10,15" rowNum="5" 
            rownumbers="true" navigator="true" loadonce="false" loadingText="Loading..." 
            navigatorAdd="false" navigatorEdit="false" navigatorDelete="false"
            navigatorDeleteOptions="{height:120,width:200,reloadAfterSubmit:true}" 
             navigatorSearch="true" navigatorView="false" navigatorRefresh="true"
            width="500" editinline="false" multiselect="true" reloadTopics="true"
            viewrecords="true" footerrow="true" cssStyle="{font-size: 10px;}">

            <sjg:gridColumn name="uploadId" index="uploadId" 
                title="%{getText('label.moduleID')}" tooltip="configure"
                sortable="true" editable="false" hidden="true" edittype="text"
                key="true" />

            <sjg:gridColumn name="fileName" index="fileName"
                title="File Name" sortable="false" formatter="showlink"
                formatoptions="{ baseLinkUrl : '', showAction : '%{filePreview}', target : '_self' }"
                editable="true" edittype="text" />
    </sjg:grid>

Original issue reported on code.google.com by pritam27...@gmail.com on 14 Mar 2012 at 4:39

Attachments:

GoogleCodeExporter commented 9 years ago
The Demos in the both Showcase Apps does not show any extra unwanted footer and 
header rows. So I guess this is an effect with your Data or Webapp Styles.

Also please try if this also happens with latest version of s2j, if yes please 
provide an example to reproduce this problem.

Original comment by johgep on 14 Mar 2012 at 2:17