Count of items in search pane
Count of items in search pane
Mel0nc0lly
Posts: 3Questions: 1Answers: 0
I often use Search Panes and find that the count of items on the panes is very useful. I recently added some html styling to produce a red/amber/green circle in the table rows and in the search pane, which works but now, for the pane where the coloured dots appear, I no longer get a count of items. What should I do to get the count back!
This question has an accepted answers - jump to answer
Answers
Your test case doesn't work. Looks like the test case is redirecting to a login page causing this error:
No data is loaded.
Can you provide a simple test case showing the issue starting with this base searchPanes test case:
https://live.datatables.net/busekawo/1/edit
Kevin
Hi,
Sorry, test case is updated now to show data:
https://tabulator.co.uk/competency_testcase.asp
I built a simple test case to replicate your issue:
https://live.datatables.net/heqagexe/1/edit
It uses Datatables 1.10.20 (made in 2019) and SearchPanes 2.0.2, the same as your test case. I updated to the last Datatables 1.10 version which is 1.13.11 and it works.
https://live.datatables.net/piwanele/1/edit
At a minimum upgrade to 1.13.11. You might consider upgrading to the latest Datatables 2.0 and Searchpanes 2.3.0 as there aren't any more updates planned for Datatables 1.x. Here is the same test case with DT 2.0.3 and SP 2.3.0.
https://live.datatables.net/fulelayo/1/edit
Kevin
Brilliant, thanks Kevin!