NULL fields with NUMBER Format display as 0.00

QuestionsNULL fields with NUMBER Format display as 0.00
Mike Sheppard asked 4 years ago

I need to display a blank (NULL) when there is no value on a number formatted column. By default – it looks to display 0.00.

I have seen a work-around but do not-know how to integrate-it with PHPGrid.

http://stackoverflow.com/questions/17024027/jqgrid-show-blank-instead-of-null

Can you recommend any options?

Thanks

Mike

1 Answers
Mike answered 4 years ago

I was able to solve this issue by reading-up on the jQuery documentation – I see my mistake.

In the sample there was a $ symbol (see below) ahead of the jqGrid call.

$("#list1").jqGrid({

Replacing the $ with "jquery" and referencing the new function worked perfectly.

jquery("#list1").jqGrid({

Thanks

Mike

Your Answer

1 + 10 =

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?