113
rated 0 times
[
117]
[
4]
/ answers: 1 / hits: 38032
/ 12 Years ago, mon, december 10, 2012, 12:00:00
I did successfully add a row double click event listener to my grid by:
listeners : {
itemdblclick: function(dv, record, item, index, e) {
alert('working');
}
},
Now, I need to get the exact value in third column at the selected row, how can I do that ?
EDIT
Okay found it:
listeners: {
itemclick: function(dv, record, item, index, e) {
alert(record.get('name'));
}
}
but seems like the result of record.get('name')
is not a text! its an object but I cannot handle it as if it a text. any body has any idea ?
EDIT
For example, if I pass the name to search function: Search(record.get('name'));
this won't work. but if I pass it this way: Search('Mike');
it works !
More From » extjs