I've been trying to work out how to repeatedly get the value a specific datagrid cell for about 10 hours now,Please can someone help to correct my code? I haven't quite got to grips with this yet

, for example my column name is Part_Number and the the index is row 5 and I need to get the current value, I would have previously used document.getElementById
var v = $('#dg_spn').datagrid('getValue',{index: 5,row:{Part_Number:}});
alert(v);
Thanks