(() => {
'use strict';
kintone.events.on([
'app.record.create.change.テーブル', 'app.record.edit.change.テーブル',
'app.record.create.show', 'app.record.edit.show'
], (event) => {
const record = event.record;
record.テーブル.value.forEach((row, index) => {
row.value.行番号.disabled = true;
row.value.行番号.value = (index + 1);
});
return event;
});
})();
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
