Adding Checkbox for bulk selection for duplication and deletion
How to add check box for bulk selection in the advanced reports in logi Info Studio v14.1
Have someone tried this, any example with code?
-
Do you need something to check all the boxes?
<DataTableColumn Class="centered" Header=" " ID="colMultiSelect" SecurityRightID="Admin,UserAdmin,PowerUser" Width="25">
<ExtraColumnHeader ID="colSelectNone" ShowModes="SelectNone">
<Label Caption="<input type="CHECKBOX" rdcheckboxdefaultvalue="" value="1" rduncheckedvalue="0" class="pointer bold" id="cbMultiSelectHeading" name="cbMultiSelectHeading" />" Format="HTML">
<Action Javascript="$("[id^='cbFavorite']").prop("checked", !$("[id^='cbFavorite']").prop("checked"));" Type="Javascript" />
</Label>
</ExtraColumnHeader>
<Division>
<InputCheckbox CheckedValue="1" Class="bold" ID="cbFavorite" UncheckedValue="0" />
</Division>
</DataTableColumn>Or how to process those that are checked?
--Remove Multi Filter
delete from userfilter where userfilterid = '@Request.tbFilterID_Row1~' and '@Request.cbFavorite_Row1~'='1'
delete from userfilter where userfilterid = '@Request.tbFilterID_Row2~' and '@Request.cbFavorite_Row2~'='1'
delete from userfilter where userfilterid = '@Request.tbFilterID_Row3~' and '@Request.cbFavorite_Row3~'='1'...You could probably get more creative on the SQL than the brute force I am using.
0 -
The screenshot of the goHome interface already has a bulk checkbox function. This works with delete because Logi's bookmark delete also has a bulk function. Duplication doesn't seem to have a bulk function so I think you would have to use javascript to loop over each bookmark selected (via bulk) then issue separate copy bookmark functions for each.
0 -
Thanks David Daley and VISUI for the input.
0 -
Actually... in SSRM 14.1.612 goHome now includes a bulk duplicate function if you turn it on via the Constants.
0
Please sign in to leave a comment.
Comments
4 comments