var $ = skuid.$, field = arguments[0], hasChanged = field.model.changes[field.row.Id] && field.model.changes[field.row.Id][field.id]; switch(field.mode) { case 'read': if (field.row.Id.length >= 15 && !hasChanged) { skuid.ui.fieldRenderers[field.metadata.displaytype].read(field, arguments[1]); } else { skuid.ui.fieldRenderers[field.metadata.displaytype].edit(field, arguments[1]); } break; case 'readonly': skuid.ui.fieldRenderers[field.metadata.displaytype].read(field, arguments[1]); break; case 'edit': skuid.ui.fieldRenderers[field.metadata.displaytype].edit(field, arguments[1]); }
One Skuid for View and New Record
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.