DataTable (common.checkbox()) save data when clicked

Hi,

I have DT in my case it have inline-updates

save: {
	updateFromResponse: true,
	url: '/board/config/edit'
},

And have checkboxes for select

{
	id:"edit_flag", header:{content:"masterCheckbox", css:"center"}, 
	width:40, css:"edit-flag",
	template:"{common.checkbox()}", editor: false, editable: false
},

When i clicked at checkbox, webix send POST request to /board/config/edit (like i set in inline-update), why?

common.checkbox() acts like a data editor and changes theedit_flag for the particular row and updates the data like any other editor does. But it’s the plain html-checkbox, which cannot be disabled simply. Please note thateditor: false andeditable: false are useless here.

But, you can create custom checkboxes that won’t edit the data. Check the related article: http://docs.webix.com/datatable__controls.html#customcheckbox

Note that in the basic datatable checkbox,webix_table_checkbox class provides the behaviour described above.

masterCheckbox can be also extended depending on your needs.

Here’s a snippet where you can see the original implementation and edit it: http://webix.com/snippet/7f517bad