Display list of table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 11:52 AM
Hi Community,
I am new to ServiceNow community.
I have a requirement to show list of record using custom widget.
I want to edit directly from output of widget by double click on that field. I want to show all list of incident
and apply double click function so that if we double click on specific field, then it should be editable like this:
I am using this code
HTML:
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Table List</h3>
</div>
<table class="table">
<thead>
<tr>
<th>Number</th>
<th>Short Description</th>
<th>State</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="table in data.tables" ng-dblclick="c.editTable(table.sys_id)">
<td>{{::table.number}}</td>
<td>{{::table.short_description}}</td>
<td>{{::table.state}}</td>
</tr>
</tbody>
</table>
</div>
I am stuck on other client and server scripts.
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 01:01 PM
Hi rah dev,
I guess you are not happy with editing fields from the list, but want a new UI component to do that. Maybe someone here has done that. (I can edit certain fields on my Dashboard widget that contains a list report.)