how can show math result in datatable

code like this ,thank you.
http://webix.com/snippet/2b0ae5ef

someone can help me?

In this way?

http://webix.com/snippet/26e5f008

thanks