http://jsfiddle.net/ruslans/edu25wg6/
in this example i didn't left the formula function calculateTotal inside the scope, instead of sticking it onto the global namespace. now igGrid cannot access it?? is there any way to use a local (public) function as a formula for the unbound column? in my actual case, both the formula function and the gridOptions are located in the same angularJs controller.
thanks.
ok, this resource actually helped in understanding that you can assign a referece to any function for the "formula" property., so all had to do is remove quotes around formula: "calculateTotal" like so: http://jsfiddle.net/ruslans/mmc6b0nb/. easy enough,
Hello Ruslans,
Thank you for posting in our forums!
I have done initial reviw on this and able to reproduce the same behavior you mentioned. I put the function in the global namespace and able to see the computed value for the column. After making these changes I am observing some errors in the console.
I am taking a close look into it and will provide you an update By EOD.
To understand more about Jquery grid with unbound column you can refer the following link:
http://es.infragistics.com/community/blogs/damyan_petev/archive/2012/10/16/jquery-grid-unbound-column-how-to-make-the-most-of-it.aspx
You can also refer the following sample demonstrates how AngularJS directives are used with the igGrid.
http://jsfiddle.net/gh/get/jquery/1.9.1/igniteuisamples/jsfiddle-samples/tree/master/EN/HtmlSamples/grid/angular/
Let me know if I may be of further assistance.