From c8df54f163811b208fd9e583caf08d9992101891 Mon Sep 17 00:00:00 2001 From: Julian Knowles Date: Mon, 27 Jan 2014 13:54:34 +0800 Subject: [PATCH] Roo/bootstrap/TableBody.js Roo/bootstrap/TableCell.js --- Roo/bootstrap/TableBody.js | 6 ++++++ Roo/bootstrap/TableCell.js | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/Roo/bootstrap/TableBody.js b/Roo/bootstrap/TableBody.js index 47dc0ad935..d28f5e7352 100644 --- a/Roo/bootstrap/TableBody.js +++ b/Roo/bootstrap/TableBody.js @@ -28,6 +28,12 @@ Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component, { cfg = { tag: 'tbody' } + if (this.html) { + cfg.html=this.html + } + if (this.cls) { + cfg.cls=this.cls + } return cfg; } diff --git a/Roo/bootstrap/TableCell.js b/Roo/bootstrap/TableCell.js index a2cca6922b..4811e7e0d4 100644 --- a/Roo/bootstrap/TableCell.js +++ b/Roo/bootstrap/TableCell.js @@ -28,6 +28,12 @@ Roo.extend(Roo.bootstrap.TableCell, Roo.bootstrap.Component, { cfg = { tag: 'td' } + if (this.html) { + cfg.html=this.html + } + if (this.cls) { + cfg.cls=this.cls + } return cfg; } -- 2.39.2