Touch Grid With Checkbox

Hi there,

Is it possible to have a checkbox on a dhtmlxtouch grid like you can with the full dhtmlx version? For some reason I can’t find out how to do it. Something like this doesn’t seem to have any effect:

		{
			view:"grid",
			id:"myGridView",
			header:true, 
			datatype:"json",
			select: true, 
			scroll:"xy", 
			fields: [
				{
					id:"Name",
					label:"Role",
					width:200
				},
				{
					id:"Assigned",
					label:"Assigned",
					width:200,
					type: "Checkbox"
				}
}

Thanks

Hi,

you may use template property of the field and ActiveContent:

dhtmlxTouch_v10_111114/samples/technical/list/13_active_values.html

I have attached the sample that shows how active content can be used in Grid (note that you need to use the attached touchui.js instead of the original dhtmlxTouch_v10_111114/codebase/touchui.js which doesn’t allow to use activeContent)
gridActive.zip (185 KB)