Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
help file said:ActiveRow returns zero if the grid doesn't have the focus or when you access a row outside the grid display.
ActiveRow returns zero if the grid doesn't have the focus
I have set focus on the grid -> Thisform.gridname.setfocus, then too both values are coming 0.even after setting focus on grid