Forum


08:53

19/06/2008

Hi,
Not sure if this has be asked before, but i have an afterShowForm javascript funtion that changes somethings in the edit dialog.This is working fine.
But the problem i have is that after it's changed, and you close the dialog, and open another edit dialog (of another record), it already has the looks of the changed dialog, instead of the 'standard' starting looks of the edit dailog. Any idea why this is that way or what i can do to let it reload the edit dialog every time i open it?
Oh, i'm doing this in a subgrid. So if i open the dialog for another line in the same subgrid, it doesn't really reload it. It does work when i open a line of another subgrid.
I hope my question is clear. So can i reload the edit dialog every time i open one?
10:56

Moderators
30/10/2007

Hello,
Yes the question is clear, but I think it is difficult to do.
I think to add onCloseForm event. What do you think?
Since you know what is changed in aftreShowForm event you can rollback
these changes in onCloseForm event
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
02:56

Moderators
30/10/2007

Hello,
Actually, If I look into the code it seems that recreating will be possible too.
Let make me make some tests.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
03:04

Moderators
30/10/2007

Hello,
Sorry, was a little busy these days. Will try to include this in the bugfix
release.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
07:10

Moderators
30/10/2007

Hello,
You can test the new option in 3.3.1 - recreateForm
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
11:18

Moderators
30/10/2007

Hello,
Maybe if you use it in adding and editing records add it in both places.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
83 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66