[QUOTE=reto.peter;39379]I just made a full test with ajax events and parameters within GRID rows
What I wanted to achive is to have a button on each row, which is doing something with the data for only this row. So I need the id of the row (database-field)
I did not want that the ID-field of the row, lets say “wood_item.id” is shown on the GRID, cause that is useless for the client.
The generated ID-field from ScriptCase had the name: wood_item.id (see in Edit fields, or Fields positioning)
Inside the Ajax-Event, I can now access this field, but:
[wood_item.id] --> does NOT work
but
[wood_item_id] --> WORKS
well, at least I found a solution, but the strange things are, that the parameter settings are irrelevant and that ScriptCase is changeing the fieldname from wood_item.id --> wood_item_id
And: if I am using this [wood_item_id] in more than 1 Application, it becomes a problem. The Global Variable becomes ‘Undefined’[/QUOTE]
If i understood correctly, you can manage a link from onrecord and use {id}
Example, create a virtual field on your grid, and on record event.
{Myvirtualfield} = '<a href="../myblankapp/?id="+'.{id}.'>Redir</a>';