I have created some custom sensor table map objects, to display simple lists of sensors. I have the following poperties in my map object code:

columns="sensor, lastvalue, minigraph" sortby="" sortable="true"

The table column headers appear as clickable links, but clicking on them has no effect, i.e. the table does not sort by the column clicked.

Full map object code is below.

thanks! dan.

<!--Data Tables: Custom Sensor Table-->

<div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" 

subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">

  <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>">

  <div class="top100listcontainer" style="overflow:hidden">
    <#table tableid="sensortable"
    id="<@objectid>"
    content="sensors"
    columns="sensor,lastvalue,minigraph"
    sortby=""
    infoheader="false"
    links="true"
    sortable="true"
    filter_tags="@tag(<@tagfilterstring>)"
    varexpand=""
    tabletitle=""
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

Article Comments

Dear dma

The sortable=true property does not work in maps, even though a sort order icon is displayed.


Aug, 2015 - Permalink

oh that's a shame....any idea if this will be fixed, as it makes the tables difficult to use effectively in maps.


Aug, 2015 - Permalink

Dear dma

I am sorry, there are currently no plans to implement table sorting for maps. Maps are intended to be used as a display, interactivity is not a focus right now.


Aug, 2015 - Permalink

Oh that's a shame - you seem to have implemented some interactivity features, e.g. clickable objects that link back to other pages. It would be nice to develop the interactivity features more so we can create more useful maps for our users.

The maps could then be used for reporting functions too, since the built-in reports are a bit limited in scope.

Maybe that's another request - a better report builder with fully customisable reports :)


Sep, 2015 - Permalink

Dear dma

Please allow me to provide a two-fold reply.

  • We consider PRTG a monitoring tool first. When we decide how to allocate our development resources, we often go for better monitoring instead of better reporting. This is also our intention going forward.
  • We still improve features likes maps and reports over the time, of course. But we know that we are not a representation or reporting company, we are a network monitoring company. Of course we still optimize the presentation, for example we put a lot of work in our UI which now scales better on wide-screen monitors.

As a solution, we explore ways to allow for easier data export. Our data extractor is already easier to use than to do data export with custom scripts utilizing the PRTG API. We are discussing other, more easier ways to export data for use in dedicated reporting suites.


Sep, 2015 - Permalink

Thanks for your reply.

I'm glad you concentrate on the monitoring features, as PRTG really is a great monitoring system. :)

I still feel disappointed that maps/reports do maybe 80% of what they need to do to be super flexible/useful, but just fall a bit short.

Thanks for the link to the data extractor, I will experiment with building a SQL DB and using SSRS/Crystal to do some custom reports.


Sep, 2015 - Permalink

Hello,

it works fine with sortby="-downtimesince"


Feb, 2016 - Permalink