whats the use of oncelledit
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2018 08:40 AM
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2018 12:27 PM
It's the only type of client script that works in a list view.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2018 11:23 PM
Hi,
An onCellEdit() client script runs when the list editor changes a cell value. The onCellEdit() client script must specify these parameters.
- sysIDs: an array of the sys_ids for all items being edited.
- table: the table of the items being edited.
- oldValues: the old values of the cells being edited.
- newValue: the new value for the cells being edited.
- callback: a callback that continues the execution of any other related cell edit scripts. If true is passed as a parameter, the other scripts are executed or the change is committed if there are no more scripts. If false is passed as a parameter, any further scripts are not executed and the change is not committed.
Note:onCellEdit()client scripts do not apply to dashboard list widgets.
Also refer below community thread for understanding of onCellEdit client Script with example.
Mark as correct or helpful as per impact of answer.
Regards,
Manali H.