problem in javascript method to check if grid exists and row is selected

Printable View