calculation in excelview

Questionscalculation in excelview
Andy asked 7 years ago

Dear friends:

i need to calculate a cell value from other cell value in excel view.

please help.
thanks.

1 Answers
Abu Ghufran answered 7 years ago

Hello,

This is not supported in lib, but alternate solution is mentioned here.
Refer: http://stackoverflow.com/questions/9655426/jqgrid-setcell-calculated-value

You can set afterSaveCell event in phpgrid control using following code.

$opt["afterSaveCell"] = "function (rowid, name, val, iRow, iCol) { ….. }";

$g->set_options($opt);

Above will manage the clientside change on grid. If you want server side table update, you need to write on_update event and run an extra update sql call based on posted data.

Your Answer

0 + 0 =

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?