From 82610b0dd7c56b01af301bda689f4a74a3d925b2 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 9 Jul 2021 14:43:06 +0800 Subject: [PATCH] roojs-bootstrap.js roojs-bootstrap-debug.js Roo/bootstrap/Table.js --- Roo/bootstrap/Table.js | 1 + roojs-bootstrap-debug.js | 1 + roojs-bootstrap.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Table.js b/Roo/bootstrap/Table.js index bf69a1025f..300708ab2d 100644 --- a/Roo/bootstrap/Table.js +++ b/Roo/bootstrap/Table.js @@ -931,6 +931,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, { var td = { tag: 'td', + // this might end up displaying HTML? tooltip : (typeof(value) === 'object') ? '' : value, cls : rowcfg.rowClass + ' x-col-' + i, style: '', diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index a26bb7afc4..54f8cb49dd 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -8881,6 +8881,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, { var td = { tag: 'td', + tooltip : (typeof(value) === 'object') ? '' : value, cls : rowcfg.rowClass + ' x-col-' + i, style: '', html: (typeof(value) === 'object') ? '' : value diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index 7a4594f34a..05a53de7fd 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -364,7 +364,7 @@ i++){this.insertRow(this.store,B+i,false);return;}},refreshRow:function(A){var d this.fireEvent("rowupdated",this,B,A);},insertRow:function(dm,A,B){if(!B){this.fireEvent("beforerowsinserted",this,A);}var C=this.renderRow(this.cm,this.store,A);var e=this.mainBody.createChild(C,this.getRowDom(A));var D=this;if(C.cellObjects.length){Roo.each(C.cellObjects,function(r){D.renderCellObject(r); })}if(!B){this.fireEvent("rowsinserted",this,A);}},getRowDom:function(A){var B=this.el.select('tbody > tr',true).elements;return (typeof(B[A])=='undefined')?false:B[A];},renderRow:function(cm,ds,A){var d=ds.getAt(A);var B={tag:'tr',cls:'x-row-'+A,cn:[]};var C=[]; for(var i=0,D=cm.getColumnCount();i tr',true).elements;if(typeof(C[A])=='undefined'){return; -- 2.39.2