We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2211d4d commit abbe241Copy full SHA for abbe241
src/aha-table.html
@@ -163,7 +163,7 @@
163
</template>
164
</td>
165
<template repeat="{{ column in meta }}">
166
- <td on-click="{{ edit }}">
+ <td on-dblclick="{{ edit }}">
167
<template if="{{ column.name == row._editing_column }}">
168
<template if="{{ 'select' === column.type }}">
169
<select on-change="{{ save }}" on-blur="{{ save }}">
@@ -308,7 +308,7 @@
308
save: function(e) {
309
var model = e.target.templateInstance.model;
310
if(model.row){
311
- model.row[model.column.name] = e.target.value;
+ this.modified.push(model.row);
312
model.row._editing_column = null;
313
}
314
},
0 commit comments