Home All Groups Group Topic Archive Search About

ReCalcuating Total from the Template columns in the datagrid using javascript.

Author
30 Mar 2005 6:22 AM
Zaib
Hi,
    I am using Datagrid and i have 3 template columns in it. i want to
calculate sum of first 2 columns in 3 rd columns... first 2 columns values
are comming from database.. if user change some values in grid then sum
should be recalculated on client side
thanks

Author
30 Mar 2005 8:18 AM
Eliyahu Goldin
Datagrid emits as a table. You need to navigate in the dhtml table object
created for the grid to get to the cells and operate on their values.

Eliyahu

Show quoteHide quote
"Zaib" <z***@palmchip.com> wrote in message
news:eXcJfDPNFHA.3760@TK2MSFTNGP12.phx.gbl...
> Hi,
>     I am using Datagrid and i have 3 template columns in it. i want to
> calculate sum of first 2 columns in 3 rd columns... first 2 columns values
> are comming from database.. if user change some values in grid then sum
> should be recalculated on client side
> thanks
>
>
Author
31 Mar 2005 5:39 AM
Zaib
Hello
I am a new bee to this webdevelopment ,,kindly guide me with some sample
code
thanks

Show quoteHide quote
"Eliyahu Goldin" <removemeegol***@monarchmed.com> wrote in message
news:#v9F1BQNFHA.3988@tk2msftngp13.phx.gbl...
> Datagrid emits as a table. You need to navigate in the dhtml table object
> created for the grid to get to the cells and operate on their values.
>
> Eliyahu
>
> "Zaib" <z***@palmchip.com> wrote in message
> news:eXcJfDPNFHA.3760@TK2MSFTNGP12.phx.gbl...
> > Hi,
> >     I am using Datagrid and i have 3 template columns in it. i want to
> > calculate sum of first 2 columns in 3 rd columns... first 2 columns
values
> > are comming from database.. if user change some values in grid then sum
> > should be recalculated on client side
> > thanks
> >
> >
>
>