我有dgrid
。它与store
和database
相关联。
我在column
中有dgrid
,名为type
。
还有另一个column
,名为subtype
。它需要来自parentid
的{{1}}值。
我想在type
FilteringSelect
添加subtype
。当此column
发生更改时,我希望将FilteringSelect
值传递给parentid
type
并显示它,因此请更改column
{{的值1}}基于type
column
中的选择的值。
我怎样才能做到这一点?
我在交叉引用subtype
...
谢谢!
答案 0 :(得分:0)
您需要的所有数据都将放在"dgrid-datachange
处理程序的事件对象中。
yourdGrid.on("dgrid-datachange",function(event) {
console.log(event);
}
event
对象中包含与event.cell.row.data
这应该允许您访问parentid