-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server Response Auto load #21
Comments
Hey @Fzoltan87, the server side rendering is performed for all requests other than the initial loading. You need to render your "first page" in the index.php file. |
So do you really need the first server-side query between the |
Yes, this is correct, the first rendering needs to be done when creating the table. |
Very good. Thank you very much. Are you planning any new features or fixes in the script in the future? |
Actually there is currently nothing specific planned. Do you have a feature request? |
I would be interested for the server to respond automatically after the page loads (html and javascript code should be php free). I'd love to donate for it. |
I will look into it ;-) |
Great. Thank you ;) |
Hy Trekky12! Did you manage to look it up? |
this should fix issue #21 and be consistend with datatables deferLoading (https://datatables.net/reference/option/deferLoading) When deferLoading is not set the table is loaded from the server, otherwise the value should be the number of total rows of the table
Could you please test the version in the development branch? When the option |
Success. The server data is downloaded without entering the php code (In Javascript code without specifying a deferLoading value). |
- Add possibility to request first page of server side rendering page (#21) - Update dependencies
Great! I've published the changes in the new version. |
Thank you very much for your help. I invited you to coffee. :) |
Great! Thank you! |
Hy,
After loading the page, my spreadsheet is empty, but when I perform an operation (scrolling, searching) I get a server response.
How can I make the server response run automatically after the page loads?
Maybe an idea? Or a sample code?
My source code and structure:
datalist.php =>Data from the database
"deferLoading" Is this parameter required?
index.php
The text was updated successfully, but these errors were encountered: