This is a migrated thread and some comments may be shown as answers.

Handle Grid Exception in Javascript

0 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Atchut
Top achievements
Rank 1
Atchut asked on 10 May 2012, 09:08 PM
Hello,
           var strClientID = getClientID(obj.id, "chkSelectAll") + "RgGridCt";
            var stClientRi = getClientID(obj.id, "chkSelectAll") + "RgGridR";
            var strClientRe = getClientID(obj.id, "chkSelectAll") + "rgGridRe";
       
    tableView = $find(strClientID).get_masterTableView();

In the above code, if the grid is not rgGridCt, tableview is throwing error.

In my page, I am having 3 different grids. If I select one of them, how can I pass the correct value so that tableview will not throw error.

TIA

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Atchut
Top achievements
Rank 1
Share this question
or