Getting number of Selected Rows in the g_list
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2012 02:49 AM
We have just written our first UI List Action that will Close the Selected Rows in the incident.
However can i get a count of the number of rows that i'm about to update.
The Delete List Action always asks if you want to 'Delete 3 Rows', how can i do that with my update as there does nto appear to be a rowCount option on the g_list object?
Thanks,
Mark
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2012 03:06 AM
Never mind got it, did the below to get the number of rows
var v = g_list.getChecked();
var a = new Array();
a = v.split(",");
alert(a.length);