EXTJS--XTemplate的简单应用

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_37279783/article/details/88020554
renderer : function(value, cell, record, rowIndex, colIndex){
                    var qtipTpl = new Ext.XTemplate(
                        '<tpl for=".">',
                        '<div ext:qtip="{data1}">',
                        '{data2}</div>',
                        '</tpl>'
                    );
                    var da = {data1:v,data2:value};
                    return qtipTpl.apply(da);
                }

猜你喜欢

转载自blog.csdn.net/qq_37279783/article/details/88020554