Open kennico opened 6 years ago
The checkbox displays a string of "YES" or "NO" instead of one of my values.
This is my code snippet in index.html.
index.html
{name: "status", index: "status", width: 50, sorttype: "text", editable: true, edittype:"checkbox", editoptions: {value:"True:False"}, unformat: aceSwitch }
The code of aceSwitch remains unchanged.
aceSwitch
function aceSwitch( cellvalue, options, cell ) { setTimeout(function(){ $(cell) .find('input[type=checkbox]') .addClass('ace ace-switch ace-switch-5') .after('<span class="lbl"></span>'); }, 0); }
The checkbox displays a string of "YES" or "NO" instead of one of my values.
This is my code snippet in
index.html
.The code of
aceSwitch
remains unchanged.