Skip to content

Instantly share code, notes, and snippets.

@rkaneko
Created June 22, 2014 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rkaneko/7711df00b8b08180d370 to your computer and use it in GitHub Desktop.
Save rkaneko/7711df00b8b08180d370 to your computer and use it in GitHub Desktop.
kintone on cybozu.com sample code. When Editing record event occurred, u can make some fields uneditable.
(function () {
"use strict";
kintone.events.on('app.record.edit.show', function(event) {
var record = event.record;
record['here_is_field_id']['disabled'] = true;
return event;
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment