Datagrid refresh resets option menus
Posted: Wed Oct 15, 2014 6:53 pm
Another datagrid question.
Briefly I need to copy some values from one datagrid (DG1) to another datagrid (DG2).
So I’ve copied the original values in DG2 into ‘theDataA’ and then added the values from DG1.
I’ve then updated DG2 with:
set the dgdata of group "DG2" to theDataA (I’ve also tried dispatch and send).
This all works absolutely fine as far as the contents of DG2 are concerned.
The problem is that there are two columns with option menus in DG2 and when I update DG2, it refreshes and resets these menus to the first option.
I’m not sure how to keep the menus at their initial value or how to reset them after the refresh?
Any help would be great. I'm stumped.
Briefly I need to copy some values from one datagrid (DG1) to another datagrid (DG2).
So I’ve copied the original values in DG2 into ‘theDataA’ and then added the values from DG1.
I’ve then updated DG2 with:
set the dgdata of group "DG2" to theDataA (I’ve also tried dispatch and send).
This all works absolutely fine as far as the contents of DG2 are concerned.
The problem is that there are two columns with option menus in DG2 and when I update DG2, it refreshes and resets these menus to the first option.
I’m not sure how to keep the menus at their initial value or how to reset them after the refresh?
Any help would be great. I'm stumped.