First, create the editable datagrid. Here we create some editable columns, the 'listprice','amount' and 'unitcost' columns are defined as numberbox editing type. The calculated column is 'unitcost' field that will be the result of multiplying listprice times amount.