I have this grid in Sencha
and when I get the data, it throws this data
clearly you can see that it brings me the data BR'TX'FIELDS'002 I would need the information of the parents, that is, RECEPTION AND PAYMENT SERVICE, and it was impossible for me to navigate up, someone illuminates me.
if (dataIndex.data.c5! == undefined) {
var id = Ext.id();
Ext.defer(function () {
Ext.widget('button', {
renderTo: id,
width: 24,
icon:'appresources/images/edit1.png',
border:0,
style:{backgroundColor: 'transparent'},
height:24,
listeners: {
click: {
fn: function (event, target) {
var lastCellUsed=Ext.getCmp('v_rulesConfig').lastCell;
var clickToShow= Ext.getCmp('v_rulesConfig').clickToOpen;
if(lastCellUsed!=cell){
clickToShow=true;
Ext.getCmp('v_rulesConfig').lastCell=cell;
}
if(clickToShow){
Ext.getCmp('panel_parametersEdition').show();
var ruleId = dataIndex.data["ext-53"];
global_ruleIdSelected = ruleId;
console.log(ruleId);
console.log('aca pase');
console.log(dataIndex);
console.log('aca pase');
//console.log(global_project);
//INVESTIGAR
// global_stateSelected =
//global_trxTypeSelected = ;
Ext.getCmp('v_rulesConfig').configEditParameters(ruleId);
}else{
Ext.getCmp('panel_parametersEdition').hide();
}
Ext.getCmp('v_rulesConfig').clickToOpen=!clickToShow;
}
}
}
});
}, 50);
return Ext.String.format('<div id="{0}"></div>', id);