Grid Detail View
Grid Detail View
General Rules
oEnsure the HTML Editor property is unchecked for the field with the Editor applied.
oReplace 'FIELDNAME' with your component's fieldname.
oNote that function parameters must be in all capital letters.
oIt works better if you surround your Editor field with a Container or Frame.
Conditions
Condition |
Add code to this client-side event |
Code |
Update Record is allowed |
canDetailViewSubmit |
ckUpdate('GRIDDTL','{Grid.ComponentName}'); |
View Record is allowed |
onDetailViewRender |
if(window.location.protocol.indexOf("http")>=0) { Examples applied to four different textarea fields on same Detail View: if(window.location.protocol.indexOf("http")>=0) { |
Add Record is allowed |
afterDetailViewNewRecord |
if(window.location.protocol.indexOf("http")>=0) { |