From 71e1c8433006fc29e4c7e056528c00dd35407963 Mon Sep 17 00:00:00 2001 From: LARABA MOHAMMED SEDDIK Date: Sat, 3 Apr 2021 19:14:46 +0100 Subject: [PATCH] Added input type check and select options #16 $("#table-list").SetEditable({ columnsEd: "0,1,2,3,4,5,6", columnsType: "date,,select,number,number,checkbox,checkbox", columnsSelect: [{2: ["Choice 1","Choice 2","Choice 3"]}], columnsCheck: [{5: ["YEP","No"]},{6: ["OK","CANCELED"]}] }); --- bootstable.js | 504 +++++++++++++++++++++++++++++++------------------- 1 file changed, 311 insertions(+), 193 deletions(-) diff --git a/bootstable.js b/bootstable.js index 35165c7..01ebb75 100644 --- a/bootstable.js +++ b/bootstable.js @@ -8,6 +8,9 @@ Bootstable //Global variables var params = null; //Parameters var colsEdi =null; +var colsTyp = null; +var colsSel = null; +var colsCheck = null; var newColHtml = '
'+ '