-
Notifications
You must be signed in to change notification settings - Fork 236
Reload to page 1 while edit inline a row #869
Comments
Hola, can you submit a pull request for this? |
Was this fixed? Same problem I'm having. |
Is fixed with my modif . (@Seb33300 I try to make PR, thanks) |
Where is this fix? |
@klupa-gotoma read: datatablesbundle/Resources/views/column/column_post_create_dt.js.twig Changing |
of course it was the first thing I tried. Unfortunately, this file is not used at all (don't know why yet). |
@klupa-gotoma what version you have? |
1.0 |
I fixed this. the problem was not related to the bundle, but the way we reload ajax within the project: |
Hello,
(It's a suggestion)
When you edit in-line from any page, always reload the first page.
It is uncomfortable if you are on page 20 because to return to 20 you have to make several clicks.
I found the solution in datatablesbundle/Resources/views/column/column_post_create_dt.js.twig
(line 73)
Changing
success: function() { if (pipeline > 0) { oTable.clearPipeline().draw(); } else { oTable.draw(); } }
to
success: function() { if (pipeline > 0) { oTable.clearPipeline().draw(false); } else { oTable.draw(false); } }
maybe should be in the master, and if not, I expect that those who have the same uncomfortable problem that I have had serve them.
Greetings from Barcelona, and congratulations for the great work with this bundle, for me, a "must have"
The text was updated successfully, but these errors were encountered: