Created
June 22, 2014 15:30
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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