viswanath
01-18-2022Cloud Apps
Setting the Borders for Individual Widgets in the Dashboard
Hi All,
Is there any way to set the borders for particular individual widgets in the Dashboard? I have found the Dashboard script where it will apply the the style settings for all the widgets in i...
- 01-18-2022
viswanath Please try below dashboard script (update the array widgetlist with list of widget Ids):
dashboard.on('widgetready', function(sender, ev){ widgetlist = ['5sd2c75601eafb7y02d4bce89', '61r4d1fb65c615646ee3t523'] $.each(widgetlist, function(index, value){ widgetelement = $('[widgetid = "' + value + '"]', element) widgetelement.css('border', '10px solid #000') widgetelement.css('border-radius', '15px') }) })