hungsama / struts2-jquery

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

bug in only one record for grid #971

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have bug in struts2-grid-Jquery.Every time grid contains only one record 
,grid disappear the record as in attachment but if there are many records it 
works fine. My code :
<sjg:grid id="gridtable" 

            dataType="json"
            href="%{remoteurl}" 
            gridModel="allCustomerRequests"
            pager="true"
              page="1"
            rowNum="10"
            pagerButtons="true"
                  pagerInput="true"
            gridview="true"
            rowTotal="true" 
            rownumbers="true" 
            rowList="10,20,30,40,40,50,60,70,80,90,100" 
            viewrecords="true"
            autowidth="true" 
            loadonce="true"
            viewrecords="true"
            > 

            <sjg:gridColumn  name="stRefID" formatter="formatViewLink"
                title="%{getText('COMMON_REFERENCE_NUMBER')}"  />

            <sjg:gridColumn name="requestType.stName" 
                title="%{getText('RequestTracking_Request_Type')}" />
            <sjg:gridColumn name="requestStatus.stStatus" 
                title="%{getText('RequestTracking_Request_Status')}" />

            <sjg:gridColumn name="requestStatus.tsDate" 
title="%{getText('DATE')}" formatoptions="{newformat : 'd/m/Y',               
srcformat : 'Y-m-d'}"   formatter="date" />

        </sjg:grid>

Please help me to solve my bug

Which struts2 version?
• struts2-core-2.3.1.2.jar 

Which struts2-jquery plugin version?
• struts2-jquery-plugin-3.3.0 
• struts2-jquery-grid-plugin-3.3.0

Please provide any additional information below.

Original issue reported on code.google.com by bentelsh...@gmail.com on 23 Apr 2013 at 3:12

Attachments: