I have an issue with record navigation while using linked grids. I have 2 grids. Grid1 is a vendor list, Grid2 is a list of inventory items. When you choose a vendor in Grid1, the inventory items associated with that vendor are displayed in Grid2. I created the grid components independently of each other, and linked Grid2 to Grid1 by using the linked content definition property of Grid1. I used the Master Template approach rather than using Freeform Edit Region.
The problem I am having is that if you select a record in Grid2, and then try to navigate to the next record in Grid2 by using the up or down arrow keys, both Grid1 and Grid2 react to the use of the arrow keys simultaneously. I move to the next inventory item in Grid2, but, immediately afterward, the next vendor in Grid1 becomes the active record, and the display in Grid2 is refreshed to display the inventory items associated with the newly selected vendor.
I do not have the problem if, when the preview first loads, I leave the vendor that is initially selected in Grid1 alone, and selected an inventory record in Grid2 using the mouse. I can then navigate through all the inventory items in Grid2 using the arrow keys with no issues. As soon as I selected a different vendor in Grid1, the problem begins.
I also frequently get a script error if I continue to press an arrow key once the problem begins.
I hope there is something basic I am doing wrong here as it is essential to the application I am developing that this work properly. I have tried everything I can think of.
Any advice??
The problem I am having is that if you select a record in Grid2, and then try to navigate to the next record in Grid2 by using the up or down arrow keys, both Grid1 and Grid2 react to the use of the arrow keys simultaneously. I move to the next inventory item in Grid2, but, immediately afterward, the next vendor in Grid1 becomes the active record, and the display in Grid2 is refreshed to display the inventory items associated with the newly selected vendor.
I do not have the problem if, when the preview first loads, I leave the vendor that is initially selected in Grid1 alone, and selected an inventory record in Grid2 using the mouse. I can then navigate through all the inventory items in Grid2 using the arrow keys with no issues. As soon as I selected a different vendor in Grid1, the problem begins.
I also frequently get a script error if I continue to press an arrow key once the problem begins.
I hope there is something basic I am doing wrong here as it is essential to the application I am developing that this work properly. I have tried everything I can think of.
Any advice??
Comment