Export Excel : number problem

QuestionsExport Excel : number problem
Samsun asked 12 years ago

Hay,

I have problem when my grid column type is number 18 digit. When i export the grid the value can convert like 1.96312E+17. How i solve the problem i wan't convert the value?

Regards,
Samsun

1 Answers
Abu Ghufran answered 12 years ago

Try locating file lib/inc/export-xls.class.php

Replace following line
$build .= $this->numFormat($this->rowNo, $colNo, $field);

with
$build .= $this->textFormat($this->rowNo, $colNo, $field);

Your Answer

14 + 13 =

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?