Home › Forums › Guriddo jqGrid JS › Help › Help with setCell
Tony,
I can't figure out the syntax for the setCell Method.
This is my code:
Hello,
Try
if (parseInt(rowdata.x_days_pastdue) == 0)…
If you do not have condition does the setCell work?
Regards
Tony
My conditional statement worked fine. I put an alert(rowid) inside the condition and it fires ok.
I figured it out:
This is the correct syntax:
$(“#agelist”).setCell(rowid,'x_days_pastdue','Current');
NOT THIS:
$(”#agelist”).setCell(”rowid”,”x_days_pastdue”,”Current”);
You documentation is good, but it would be better if every method was listed with examples.
Thanks,
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS