NaN

QuestionsNaN
Samsun asked 10 years ago

Mr Abu,

I have problem when use colum like this:
$col = array();
$col["title"] = "USD";
$col["name"] = "CONTRACT";
$col["search"] = false;
$col["editable"] = false;
$col["align"] = "right";
$col['formatter'] = "currency";
$col['formatoptions'] = array("thausendsSeparator"=>",", "decimalSeparator" => ".","prefix" => "$","decimalPlaces" => 2);
$cols[] = $col;

The colum will displya NaN.

Regards,
Samsun

1 Answers
Abu Ghufran answered 10 years ago

There seems to be a typo in thous "e" ndsSeparator. It should be 'a'
Also make sure the data of this cell is numeric, as it will try to append comma and dots.

Your Answer

4 + 12 =

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?