Forum


19:39

28/11/2010

Hi Tony,
I would like to have different dialog forms depending on if add or edit button is clicked in the grid.
The cell in add form should be editable while the cell should be read only in the edit dialog form.
Here is an example:
1: User pressed the add button and the add dialog form appears
2: User inputs all the required fields (for example "location").
3: When the user tries to edit their input, the "location" field should be readonly in edit dialog form.
Looking forward to your reply.
Thanks in advance
Cheers,
Joe
22:40

28/11/2010

Hello. I don't know if it's the best way, but I think it'll work. Using the event onInitializeForm:
-=AJ=-.
jorg.grape@gmail.com said:
Hi Tony,
I would like to have different dialog forms depending on if add or edit button is clicked in the grid.
The cell in add form should be editable while the cell should be read only in the edit dialog form.
Here is an example:
1: User pressed the add button and the add dialog form appears
2: User inputs all the required fields (for example "location").
3: When the user tries to edit their input, the "location" field should be readonly in edit dialog form.
Looking forward to your reply.
Thanks in advance
Cheers,
Joe
Most Users Ever Online: 715
Currently Online:
42 Guest(s)
Currently Browsing this Page:
2 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