• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts2jquery grid

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Struts2jquery grid is submitting the form when I minimize and maximize the grid. It is causing duplicate records in the grid. For better understanding below are the steps.

1. Click the submit button which calls grid action -> get data from action and display in the grid
2. minimize the grid and maximize the grid. Then it is causing reloading the grid again and appending data from action to the existing data in the grid causing duplicate data.

How can we avoid this? I want to avoid calling action (reloading grid ) when we minimize and maximize grid (close and opening).
Please let me know if anyone know solution.

Thanks in advance
Peter
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've never used this component, but the example in the documentation does not appear to exhibit this behavior.
Can you show us enough code to reproduce your issue but not so much that you will overwhelm us?
 
A berm makes a great wind break. And we all like to break wind once in a while. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic