I know how to change the default name column width of the default device tree view (in _Prtg.Core.js), but this setting does not apply to a device tree in a custom map. Is there a way to change name columnwidth in a map also?

Thank you.


Article Comments

Hello,

Thank you for your KB-Post. Can you share a screenshot please, so that we know exactly to which table/column you are referring to? Thanks!

best regards.


Oct, 2016 - Permalink

Hi Torsten,

You can find the screenshot here: http://a65i.imgup.net/ScreenShot72b1.jpg

Thank you


Oct, 2016 - Permalink

Please try adding the following line

_Prtg.Core.objects.nameColumnWidth = 300;

To the /javascript/scripts_custom.js - file in the \webroot-subfolder of your PRTG Program files.


Oct, 2016 - Permalink

Hi,

When I add the line to the scripts_custom.js file the name column of the default Device View is changed, but unfortunately not the column in the device tree in my custom map.

(screenshot: http://o52i.imgup.net/test3332.jpg)


Oct, 2016 - Permalink

I apologize, I totally missed that it's about the map object. Unfortunately, for the map object, the "column width" of the device names cannot be changed. I'll put it on the wishlist though.


Oct, 2016 - Permalink

No problem, thanks for your feedback and putting it on the wishlist!


Oct, 2016 - Permalink