riverside
16 Aug 2007, 11:35 AM
Hi folks,
I have a grid with data returned from sql query.
On double click at selected row it appear layout dialog.
My question is how to make the layout title dynamic and corresponding to selected row???
I suppose that I should use setTitle, but i don't know how to retrieve the needed data.
Here is the code I use to get the id of selected row:
var idValue = dataStore.data.items[rowIndex].id;
Below is the variable I try to assign unlucky.
var titleValue = ???
If anyone of you know how to do that, please advice me. Thank you.
Cheers,
I have a grid with data returned from sql query.
On double click at selected row it appear layout dialog.
My question is how to make the layout title dynamic and corresponding to selected row???
I suppose that I should use setTitle, but i don't know how to retrieve the needed data.
Here is the code I use to get the id of selected row:
var idValue = dataStore.data.items[rowIndex].id;
Below is the variable I try to assign unlucky.
var titleValue = ???
If anyone of you know how to do that, please advice me. Thank you.
Cheers,