Re: [web2py] Re: DataTable() not a function

2021-12-23 Thread Jim Steil
If you look at your page source can you see what is being rendered for [[=results]] in your script section? Jim On Thu, Dec 23, 2021, 6:38 PM Dave S wrote: > > On Tuesday, December 21, 2021 at 1:05:08 PM UTC-8 Jim S wrote: > >> I wish I could help, but I'm not javascript guru. That's why I've

[web2py] Re: DataTable() not a function

2021-12-23 Thread Dave S
On Tuesday, December 21, 2021 at 1:05:08 PM UTC-8 Jim S wrote: > I wish I could help, but I'm not javascript guru. That's why I've moved > to py4web, grid and htmx. > > Do you have the datatables .css and .js files loaded? > jquery.dataTables.min.js is not all that you need. > > cdn.datatable

[web2py] Re: DataTable() not a function

2021-12-21 Thread Jim S
I wish I could help, but I'm not javascript guru. That's why I've moved to py4web, grid and htmx. Do you have the datatables .css and .js files loaded? jquery.dataTables.min.js is not all that you need. cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css cdn.datatables.net/1.11.3/js/jquer

[web2py] Re: DataTable() not a function

2021-12-20 Thread Dave S
Jim? Other datatable gurus? /dps On Thursday, December 2, 2021 at 4:30:20 AM UTC-8 Dave S wrote: > That's the error I'm getting, according to Chrome's console. > > The view code is pretty simple: > > > var table; > $(document).ready(function(){ >table = $('#tableXactions').DataTable( { >

[web2py] Re: DataTable() not a function

2021-12-02 Thread Dave S
On Thursday, December 2, 2021 at 4:30:20 AM UTC-8 Dave S wrote: > That's the error I'm getting, according to Chrome's console. > > Do I have a conflict between dot-js files? > The view code is pretty simple: > > > var table; > $(document).ready(function(){ >table = $('#tableXactions').Da