Filter Datapoint List Output
-
Hi would be great to be able to filter out all of the information for a datapoint and just show the devicename or point name.
Since I've added tags there's a whole bunch of jargon that get appended on the end from the tags I've created. Would be nice to tidy that up... -
Yeah I know what you mean, the reason they are displayed is because some people have data points with identical device names and point names. The data point tags might be the only distinguishing factor between points now.
Maybe an option for which tags are displayed by default in the system settings somewhere would be useful?
-
Yeah I can relate there. I group by deviceName personally. Perhaps a format option?
point-list-format="dname - name - tag"
or somethign to that effect. that way we can choose what to show. maybe even a callback function we can add to it so we can format the output ourselves... -
Selfish request here, but would you be willing to share the source so i can manually format it to my liking and create a separate directive?
-
@mattfox said in Filter Datapoint List Output:
Yeah I can relate there. I group by deviceName personally. Perhaps a format option?
point-list-format="dname - name - tag"
or somethign to that effect. that way we can choose what to show. maybe even a callback function we can add to it so we can format the output ourselves...Yeah definitely will still be an option to format the labels via an attribute. I was talking more about adding a default setting for point lists which are on built in pages.
@mattfox said in Filter Datapoint List Output:
Selfish request here, but would you be willing to share the source so i can manually format it to my liking and create a separate directive?
The source is all on Github -
https://github.com/infiniteautomation/ma-dashboards/blob/main/UI/web-src/ngMango/directives/filteringPointList.js
https://github.com/infiniteautomation/ma-dashboards/blob/main/UI/web-src/ngMango/directives/filteringPointList.html -
Excelllent, thanks Jared! Have a rep point :)