I added a checkbox column to a datatable (via header data), but how can I assign each checkbox a value reflecting its row in the datatable?
/* var columnData = [ { id:"checkbox", header:{ content:"masterCheckbox" }, checkValue:"on", uncheckValue:"off", template:"{common.checkbox()}", width:46, footer:{ content:"rowCount" , colspan:6 } }, { id:resultData.columns[0].id, header:[resultData.columns[0].header], width:resultData.columns[0].width, sort:resultData.columns[0].sort, fillspace:1}, { id:resultData.columns[1].id, header:[resultData.columns[1].header], width:resultData.columns[1].width, sort:resultData.columns[1].sort, fillspace:1}, { id:resultData.columns[2].id, header:[resultData.columns[2].header], width:resultData.columns[2].width, sort:resultData.columns[2].sort, fillspace:1}, { id:resultData.columns[3].id, header:[resultData.columns[3].header], width:resultData.columns[3].width, sort:resultData.columns[3].sort, fillspace:1}, { id:resultData.columns[4].id, header:[resultData.columns[4].header], width:resultData.columns[4].width, sort:resultData.columns[4].sort, fillspace:1}, { id:resultData.columns[5].id, header:[resultData.columns[5].header], width:resultData.columns[5].width, sort:resultData.columns[5].sort, fillspace:1, footer:{ content:"avgColumn" } } ];
Can webix do this, or will I have to create a custom jquery function? Please advise.