briangann / grafana-datatable-panel

Datatables.net based panel for Grafana
Apache License 2.0
83 stars 58 forks source link

fix #117: derive type from data in 1st row when column.type is missing #143

Closed mweber55 closed 2 years ago

mweber55 commented 3 years ago

I'm trying to migrate a legacy dashboard application that uses datatables to Grafana, and stumbled upon #117. Don't know much about Grafana's plugin architecture, what I see is just that dataList in onDataReceived does not have type properties in the columns, at least in my sample queries on SQL Server 2016. Maybe this workaround is useful for others - until the plugin is lifted to the new architecture or the real root cause is identified.

davidmalanaphy commented 3 years ago

Hey, just wondering when this will be merged into master and released? This is still causing an issue for sorting

briangann commented 2 years ago

thanks for the addition and sorry for the very long delay!