Date format grid and export

QuestionsDate format grid and export
Alberto asked 7 days ago

I’ve date columns in grid:

$col = array();
$col[“title”] = “DATE”;
$col[“name”] = “v_fecha”;
$col[“width”] = “10”;
$col[“editable”] = true;
$col[“formatter”] = “date”;
$col[“formatoptions”] = array(“srcformat”=>’Y-m-d’,”newformat”=>’d/m/Y’);
$cols[] = $col;

Grid shows:

’10/05/2021′   (10 May 2021, correct)

but, exporting to PDF or XLS shows:








Your Answer

15 + 19 =

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?