Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form data not updated after selecting different row #604

Closed
JohnMostlyR opened this issue May 15, 2014 · 7 comments
Closed

Form data not updated after selecting different row #604

JohnMostlyR opened this issue May 15, 2014 · 7 comments

Comments

@JohnMostlyR
Copy link

I just upgraded from version 4.5.2 to 4.6.0 as I need a pivot functionality.

Strange thing that is happening now is that when I select a row and hit either edit/view/add the form shows the correct data. After closing the form and choosing another row and hit either edit/view/add the form shows the data from the previously selected row.
I broke down the issue to be related to the jqModal option. If set to 'true' the issue goes away.

I had a look at http://stackoverflow.com/questions/413569 but the suggested solution does not help

@bouks
Copy link

bouks commented May 23, 2014

Same issue in my projects.
This is really a big problem !

How did you fix it with jqModal option ?

I put :

$.extend($.jgrid.defaults, { 
...
edit: {jqModal: true}
...
}

It didn't do anything.

@tonytomov
Copy link
Owner

Hello,

If you put the modal: true in edit option directly does this help?

Regards

@bouks
Copy link

bouks commented May 23, 2014

Nope. In edit and add option of pager,

I tried this:

  • modal: true

this:

  • jqModal : true

and this:

  • modal: true
  • jqModal : true

@bouks
Copy link

bouks commented Jun 5, 2014

No news about that ?
This bug really really sucks.

@tonytomov
Copy link
Owner

Hello,

I can not reproduce this problem. In order to proof my opinion, please go in our demo http://trirand.com/blog/jqgrid/jqgrid.html
which uses 4.6 ans select LiveData manipulation ->Navigator.

Also I need a simple test case in order to look at this problem

@bouks
Copy link

bouks commented Jul 16, 2014

I've found a litlle trick to avoid this problem.

In grid.common.js -> hideModal function, i end the function by :

$(selector).remove();

@tonytomov
Copy link
Owner

Sorry - Demo is not provided and I can not use your trick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants