ServerSide SearchPane problems

ServerSide SearchPane problems

chchapellechchapelle Posts: 1Questions: 0Answers: 0
edited October 2020 in Free community support

Hello,

I have a 2 problems with Searchpane on serverside mode... can you help me ?

1/ When i'm using rendering function, the label displayed are nicely rendered but the table find no data. When I remove the rendering function and I use the label from database, the table found the right data.

_exemple of code
->searchPaneOptions(SearchPaneOptions::inst()
->table('users_ops')
->value('users_ops.select_med')
->render(function ($sel) {
return ucfirst(strtolower($sel));
})),
_

2/ I'm trying using cascadePane with ServerSide mode. I see on another issue that the problem is solved in the new release, but when I try I have this error :

Uncaught TypeError: Cannot read property 'parentNode' of null
at D.<anonymous> (jquery.dataTables.min.js:156)
at D.iterator (jquery.dataTables.min.js:117)
at D.<anonymous> (jquery.dataTables.min.js:156)
at D.destroy (jquery.dataTables.min.js:120)
at g.rebuildPane (dataTables.searchPanes.min.js:35)
at g._startup (dataTables.searchPanes.min.js:97)
at w.fn.init.fn (dataTables.searchPanes.min.js:93)
at jquery.dataTables.min.js:93
at Function.map (jquery.min.js:2)
at I (jquery.dataTables.min.js:93)

Thanks a lot for your help :smile:

Replies

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @chchapelle ,

    The best way for me to be able to help with these would be to see the page, can you give me a link please? It would also be worth making sure that you have the most up to date version of editor and are using the nightly version of SearchPanes.

    For 2 what is the issue that you are referring to?

    Thanks,
    Sandy

This discussion has been closed.