You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to follow the Salesforce documentation to enable in-line editing by adding the editors to the column definition and using a 'Slicker' prefix as shown below,
I am able to render the table with Data but I get the following error when I try to include type: Slicker.FieldType.number, editor: { model: Slicker.Editors.integer }
in my column definition.
error message --> _Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'number')
Is there some documentation that i am missing or is there another way to handle this in Salesforce.
I would appreciate if I can get a prompt response. TIA!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to follow the Salesforce documentation to enable in-line editing by adding the editors to the column definition and using a 'Slicker' prefix as shown below,
// Create columns this.columns = [ { id: 'activityName', name: 'Activity Name', field: 'activityName'}, { id: 'armAssignment', name: 'Arm Assignment', field: 'armAssignment'}, ...visits.map(visit => ({ id: visit, name: visit, field: visit, type: Slicker.FieldType.number, editor: { model: Slicker.Editors.integer } })) ];
I have also added the following grid options,
enableCellNavigation: true, editable: true,
I am able to render the table with Data but I get the following error when I try to include
type: Slicker.FieldType.number, editor: { model: Slicker.Editors.integer }
in my column definition.
error message --> _Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'number')
Is there some documentation that i am missing or is there another way to handle this in Salesforce.
I would appreciate if I can get a prompt response. TIA!
Beta Was this translation helpful? Give feedback.
All reactions