Multirow edit and save not working in datagrid

All ApPHP DataGrid script bugs discussion. Questions and requests here.
Please, use a $debug_mode = true; before you say "Why Nothing Works ?!" (solves 90% of all issues)

Moderator: alexandrleonenko

ifras7
Expert
Expert
Posts: 83
Joined: Mar 17th, '10, 05:18

Multirow edit and save not working in datagrid

Postby ifras7 » Sep 30th, '17, 14:38

Hi Admin,
Try to save more than one record in edit mode. save is not working. datagrid version 8.2.7
Following error is thrown 'Field cannot be empty! Please re-enter.'

You can try this in demo example given from datagrid
http://www.apphp.com/php-datagrid/examp ... 9_demo.php

Please check and let me know how to fix this issue.

Thank you.

Thanks & regards,
Ifras

administrator
Site Admin
Site Admin
Posts: 5997
Joined: Jan 7th, '09, 23:18
Contact:

Re: Multirow edit and save not working in datagrid

Postby administrator » Oct 1st, '17, 06:58

I think it was already fixed in latest version, please re-download script again and try it.
Also, check definition of every field to understand what field leads to this error (comment all fields one-by-one to check it).

ifras7
Expert
Expert
Posts: 83
Joined: Mar 17th, '10, 05:18

Re: Multirow edit and save not working in datagrid

Postby ifras7 » Oct 1st, '17, 11:30

I already had the latest version of datagrid 8.2.7, still I downloaded the latest version today and noted that a few lines are changed in comparison to what I had. The changes are in the Bind() and IsDate() functions.

Used the latest datagrid which I downloaded today and still the same error :(

Took the ‘textbox’ field definition from the code_template.php file and tried with only one field, still the multirow line edit and save is not working for more than one record.

As I informed in my previous post the same error is there even in the demo environment published by the apphp.com

‘Field cannot be empty! Please re-enter.’ Error is thrown even before the ‘Updating operation is blocked in demo version’ message is given by the demo environment.

Appreciated if you can check the demo environment so the problem is re-creatable easily.

Thank you.

administrator
Site Admin
Site Admin
Posts: 5997
Joined: Jan 7th, '09, 23:18
Contact:

Re: Multirow edit and save not working in datagrid

Postby administrator » Oct 2nd, '17, 10:07

Did you find which field leads to this issue?

ifras7
Expert
Expert
Posts: 83
Joined: Mar 17th, '10, 05:18

Re: Multirow edit and save not working in datagrid

Postby ifras7 » Oct 2nd, '17, 11:51

Recreates the same issue in following the demo environment too.
http://www.apphp.com/php-datagrid/examp ... 7_demo.php

In this demo, the error is more clear to the user.
The error is Field Name cannot be empty! Please re-enter.
So the Problem is in the 'Name' field.

but I'm pretty sure, if you remove the 'Name' field, then it will point out for next available field with the same error.

Please check, thank you.

administrator
Site Admin
Site Admin
Posts: 5997
Joined: Jan 7th, '09, 23:18
Contact:

Re: Multirow edit and save not working in datagrid

Postby administrator » Oct 5th, '17, 08:17

This issue was fixed.
Please re-download latest version.

There was added new method called

Code: Select all

GetValidationMsg()

ifras7
Expert
Expert
Posts: 83
Joined: Mar 17th, '10, 05:18

Re: Multirow edit and save not working in datagrid

Postby ifras7 » Oct 5th, '17, 11:14

Thank you admin, indeed issue was fixed now :D


Return to “ApPHP DataGrid {bugs}”