From bb319ef24702a1a6a02c701634b46b5503fb1c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Hern=C3=A1ndez?= Date: Sat, 25 Mar 2017 22:43:29 -0600 Subject: [PATCH 1/2] Fix #3024 when ckeckbox column disappear --- src/bootstrap-table.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index fa6e7844ea..f9fca7d4a4 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1683,7 +1683,9 @@ column = that.columns[j]; if (that.fromHtml && typeof value_ === 'undefined') { - return; + if(!column.checkbox && !column.radio) { + return; + } } if (!column.visible) { From 6114a9de338e2488186d86313594e89c5750c1fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Hern=C3=A1ndez?= Date: Sat, 25 Mar 2017 22:49:35 -0600 Subject: [PATCH 2/2] Adding parenthesis --- src/bootstrap-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index f9fca7d4a4..3d37e8f54e 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1683,7 +1683,7 @@ column = that.columns[j]; if (that.fromHtml && typeof value_ === 'undefined') { - if(!column.checkbox && !column.radio) { + if((!column.checkbox) && (!column.radio)) { return; } }