Checkbox in List?

Hi,

hopefully this is trivial/a silly question, but I’m wondering how I put a checkbox in a list?

Eg:

view:“multiview”,
cells:[
{
id:1,
view:“list”,
url:“fetchdata.asp?BaseTab=AptAts&ID=x&stat=s”,
template:"#Firstname# #Surname# - #Company#",
datatype: “xml”
},
{
id:2,
view:“list”,
url:“fetchdata.asp?BaseTab=AptAts&ID=x&stat=g”,
template:"#Firstname# #Surname# - #Company#",
datatype: “xml”
}

Do I define a template somehow that includes the checkbox? Obviously then I want to iterate through the list and find all rows with a check and act on them, but that’s no problem, I think…

Thanks!

You could just add an html input anywhere in your template…

But if you want to be able to react to a click on a checkbox, you need to extend the base “list” with the “activeContent” capability :

http://webix.com/snippet/d59ce8be

Ah, got it, thanks.

Is it possible to put a table around the list, somehow - have the tr and tds in the template?

Or better to just use divs and css I suppose.