searchPanes: change count/sum error.
searchPanes: change count/sum error.
Erdinc Ozer
Posts: 7Questions: 1Answers: 0
Hello. I am trying to implement the codes in this link: https://live.datatables.net/yuyelado/1/edit
. There is a major problem with these codes. the codes do not work when some of the lines are deleted. for example; The page has 57 lines. Try deleting 30 lines. Results are not shown. Panel #1 is missing.
Replies
The disappearing panes have to do with the
searchPanes.threshold
. You can modify the threshold like this example or you can usecolumns.searchPanes.show
to force the panes to show like this example.Kevin
I guess I didn't explain my question. https://live.datatables.net/yuyelado/1/edit By datatables, this link shows example. this example of yours works incorrectly. published without being fully tested. it doesn't work when some data(rows) are deleted. as an example, test with 5 data(rows). You will see it doesn't work.
I updated the test case to have 5 rows. As I said the Position column isn't being shown due to the threshold settings. Please read the
searchPanes.threshold
docs for details. I provided two solutions to get the column to show. The updated test case usescolumns.searchPanes.show
.https://live.datatables.net/yuyelado/47/edit
Kevin
Thanks for your quick reply and solution.