select-issue-and-date-format-issues

Questionsselect-issue-and-date-format-issues
Marco asked 5 years ago

Hello, i’ve two issue:

1 – Is possible to delete – Empty – selection during bulkedit for select column type? (see screen 1)
2 – On DB i’ve a date column. I can correctly format the date in GRID but when i modify it it complely change the format add insert random date.
On DB instead the format is the correct one updated.
How can i revolve this issue?

Code for second point is this one:
$col[”formatter”] = ”date”;
$col[”datefmt”] = ”d/m/Y”;
$col[”formatoptions”] = array(”srcformat”=>’Y-m-d’,”newformat”=>’d/m/Y’);

image: https://imgur.com/a/qoaeS4c Thanks

1 Answers
Abu Ghufran Staff answered 5 years ago

The empty option is not configurable right now. You can however remove it from  lib/inc/jqgrid_dist.php file if you want.

Emailed you update for date fix.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

6 + 9 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?