Hi all,
can someone please point me in the right direction before I end up with no hair!!!
I have:
1 spry region on the left of my page
1 detail region on the right of my page
1 form to add further items to the detail region.
When I click on a row in the spry region, the detail region is displayed.
When I insert a new item to the detail region, I have the dataset reload, and therefore takes me back to display the first record in the detail region.
I am trying to have things so that when I've clicked on a row, that I can insert multiple items, one after the other, without having to click on the row each time to get back into that information.
What I've done so far is:
on Spry Region set an onclick="storeLastRow();"
Then I have:
var lastClickedRow=0;
function storeLastRow(){
lastClickedRow=staff.getRowNumber(staff.getCurrentRow());
alert("number is: " + lastClickedRow);
}
function PPEinsert(){
Johnny Depp Wallpapers 800 x
Home | Johnny Depp Wallpaper
Johnny wallpapers
Johnny depp wallpapers
can someone please point me in the right direction before I end up with no hair!!!
I have:
1 spry region on the left of my page
1 detail region on the right of my page
1 form to add further items to the detail region.
When I click on a row in the spry region, the detail region is displayed.
When I insert a new item to the detail region, I have the dataset reload, and therefore takes me back to display the first record in the detail region.
I am trying to have things so that when I've clicked on a row, that I can insert multiple items, one after the other, without having to click on the row each time to get back into that information.
What I've done so far is:
on Spry Region set an onclick="storeLastRow();"
Then I have:
var lastClickedRow=0;
function storeLastRow(){
lastClickedRow=staff.getRowNumber(staff.getCurrentRow());
alert("number is: " + lastClickedRow);
}
function PPEinsert(){