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

var dataItem = $('#itemTest').data('tGrid').dataItem(e.row); if (dataItem['test1'] != dataItem['test2']) { alert(dataItem['test1']); }

0 Answers 10 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Swa
Top achievements
Rank 1
Swa asked on 09 Oct 2012, 11:08 AM
i'm using the following code on 'onSelect' event of telerik grid mvc but if i change the selected value of the foreign key column it still shows the previous value where i'm going wrong


var dataItem = $('#itemTest').data('tGrid').dataItem(e.row); if (dataItem['test1'] != dataItem['test2']) { alert(dataItem['test1']); }

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