Help on grid comboFilter values

Hi, I am trying to migrate a grid from ver 5 to 8. A column receives values “0” and “1” that I transform in “NO” or “YES” respectively by a template. The header of this column has content: “comboFilter”, that shows only 0 and 1. I tried to apply a template, but no result; in addiction, there is not blank value to deselect filtering. What was wrong?

Example:

var grid2 = new dhx.Grid(null, {
		columns : [
			{
				width: 60,
				id: "certif",
				header: [
					{ text: "Agon" },
					{
						content: "comboFilter",
						filterConfig: [
							{
								template: function (item) {
									return (item.value) ? "YES" : "NO";
								}
							}
						]
					}
				],
				align: "center",
				htmlEnable: true,
				template: function (text, row, col) {
					return "<span>" + (text > 0 ? "YES" : "NO") + "</span>";
				}
			},
...
		]
	});

Please, refer to the following snippet based on your provided code:
https://snippet.dhtmlx.com/kphvzygn
(square brackets for the filterConfig are not needed)

OK, thank you. I assumed the boolean return of item.value.