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

getDataKeyValue always returns null

1 Answer 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Craig Smith
Top achievements
Rank 1
Craig Smith asked on 12 May 2008, 08:56 PM
I'm using the OnRowSelected event to get the value of the selected row. I'm getting null no matter what is selected. What am I doing wrong?


function setFormValue(sender, eventArgs){  
        var myObj = sender.get_masterTableView().get_selectedItems();  
        alert(myObj[0].getDataKeyValue('workorder'));  
    } 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 13 May 2008, 05:11 AM
Tags
Grid
Asked by
Craig Smith
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or