This is a migrated thread and some comments may be shown as answers.

how to calculate unit price and quantity automatically in grid

1 Answer 272 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ismael Senateur
Top achievements
Rank 1
Ismael Senateur asked on 25 Dec 2016, 03:23 PM
i want to create new column for total price.
But i don't know how.
if i want add new record, The column of the total price fills automatically
I need an example of source code.
thank you

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 26 Dec 2016, 03:34 PM

Hello Ismael,

You could add a new template column to the Grid, that will calculate the total price. Here is the updated example that demonstrates this in action.

Regards,
Dimiter Madjarov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Ismael Senateur
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or