- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2018 04:52 PM
I've cloned the service portal "Data Table with URL filter" widget and am trying to figure out how to edit it so that the end user can double-click a column to edit it instead of it redirecting him/her to the form view for the selected row.
My question is: How do I capture a double-click on the data-table in the Client Controller script, and how do I get both the row and column clicked?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2018 06:40 PM
Check out this post. I provided a widget that will do what you are asking (but it uses the OOB sp-editable-field directive, so it currently triggers on a single click).
https://community.servicenow.com/community?id=community_question&sys_id=a6b2ca9bdb98db445322f4621f961989
I am attaching here a Kingston version and an Istanbul version. feel free to use these or tweak them as needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2021 07:44 PM
Hey,
I have the same exact issue, did you find a solution for this?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2021 12:48 PM
Really like this editable list. However I'm tracking down a bug. The column order isn't honoring the order I set them in the field_list. The data.fields list shows them in the correct order, but after passing through the EditableDataTableUtil.getFields() they are not coming back in the right order. Also in comparing data.fields_array with the OOTB widget, I also notice its really not an array, but just an object.
Any help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2024 02:39 AM
Hello @Jon Barnes ,
Great work, this is still working in Washington DC.
The only problem with this list is. it is not supporting the currency type field.
though the list edit type is enabled from element UI properties.
do you have any widget which is also capable of editing currency.
Thanks,
Amir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2018 08:37 AM
Hello,
I am having another issue with this Editable Data Table Widget, Its giving me an error message of "Uncaught TypeError: Cannot read property 'push' of undefined" (if there is no value in the column) or "TypeError: Cannot read property 'join' of undefined" (if there is a value in the column and trying to update). The column that i need to work on is the glide_list (List Type) which is referencing to the Task Table.
It also gave me an error about some length as well. Attached is the widget that i used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 04:04 AM
Hi ,
What if I want to do the same for multiple records? Like for selecting multing records we can edit those.
Thanks