0

I am facing one issue in Struts2 jquery grid plugin:

  • if I click on add navigator button on grid panel the add dialog box is opening perfectly fine but after clicking on add when I clicked to edit button... the same add dialog box is opening again.

  • If click edit button first then edit dialog box is opening and after edit button click if I click on add then same edit dialog is opening.

Why are edit / add not getting refreshed ?

Below is my code:

<sjg:grid gridview="true"
        id="gridtable"
        caption="MAN TIMESHEET MANAGEMENT"
        dataType="json"
        href="%{remoteurl}"
        editurl="%{editurl}"

        pager="true"
        navigator="true"
        navigatorEdit="true"
        navigatorAdd="true"
        navigatorDelete="true"
        gridModel="gridModel"   

        navigatorAddOptions="{height:280, width:500 ,reloadAfterSubmit:true}"
        navigatorEditOptions="{height:280, width:800 ,reloadAfterSubmit:true}"     
        navigatorDeleteOptions="{height:280,width:500, reloadAfterSubmit:true}"        
        rowList="10,15,20"
        rowNum="15"
        rownumbers="true"
        width="999"
        multiselect="true"
        resizable="true" 
        viewrecords="true"  
        onSelectRowTopics="rowselect"        
        name="gridModel" 
        loadonce="true" />
Andrea Ligios
  • 49,480
  • 26
  • 114
  • 243

0 Answers0