column.editor : function|boolean Default: undefined
Provides a way to specify a custom editing UI for the column.
Examples
<table id="grid"></table>
<script>
function edit($container, currentValue) {
$container.append('<input type="text" value="' + currentValue + '"/>');
}
$('#grid').grid({
dataSource: '../Grid/GetPlayers',
columns: [
{ field: 'ID' },
{ field: 'Name', editor: edit },
{ field: 'PlaceOfBirth', editor: true }
]
});
</script>