jQuery jQgrid help

Completado Publicado Mar 28, 2011 Pagado a la entrega
Completado Pagado a la entrega

I'm experiencing a strange problem where I can't parse a json variable to a particular function.

If you take a look at line 56 in the attached file you'll notice:

$("#list4").setCell([url removed, login to view], [url removed, login to view], '', {background: setColor(cellvalue)});

[url removed, login to view] parses the correct value but [url removed, login to view] continues to parse null to the function even though when I log it to the console [url removed, login to view]([url removed, login to view]) it displays fine.

What's supposed to happen is all cells get highlighted based on the value in the cell. 100 would be green 0 would be red. But currently because this variable isn't getting passed to the function nothing gets highlighted. You can test the code by changing [url removed, login to view] to 1 and notice that the first row gets highlighted.

I need someone to take a look and figure out what's going on, before you bid please take a look and ensure you know how to fix this problem with no hacks.

I've included some comments in the code to help you.

## Deliverables

* * *This broadcast message was sent to all bidders on Monday Mar 28, 2011 3:36:42 AM:

Just wanted to send an update about the problem I'm having: What's supposed to happen is all cells are supposed to get highlighted based on the value in the cell. 100 would be green 0 would be red, this is what the setColor function does it creates the color based on the value in the cell. But currently because the [url removed, login to view] variable isn't getting passed to the function nothing gets highlighted. You can test the code by changing [url removed, login to view] to 1 and notice that the first row gets highlighted.

JavaScript

Nº del proyecto: #3202957

Sobre el proyecto

1 propuesta Proyecto remoto Activo Mar 28, 2011

Adjudicado a:

logicalexperts

See private message.

$2 USD en 1 día
(7 comentarios)
4.0