I want to click a HTML button, and clear (remove content) specific cells on my grid.
How?
grid:
$("#jqxgrid").jqxGrid({
width: '100%',
height:395,
rowsheight:40,
source: employeesAdapter ,
editable:true,
sortable:true,
columns: [
{ text: 'ID', datafield: 'eID', width: '3%', editable: false},
{ text: 'user ID', datafield: 'euserID', width: '19%', columntype: 'textbox' },
{ text: 'user PW', datafield: 'euserPW', width: '9%' },
{ text: 'name', datafield: 'efullName', width: '12%'},
{ text: 'email', datafield: 'eemail', width: '19%' },
{ text: 'last login', datafield: 'elastLogin', width:'16%',editable: false },
{ text: 'ack files', datafield: 'fack', width:'15%', editable: false, cellsrenderer: renderer },
{ text: 'action', datafield: 'btn', width:'7%', editable: false }
]
});
HTML:
<button onclick="runFunction();">go</button>
function funFunction(){
// clear "ack files" field on every row in grid
}