• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can i add the 2 dimension matrix data and dispaly all the numbers.  RSS feed

 
sumanta panda
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

i have created a dynamic table which is created rows and colums and populated the row and column value.
we retrive the vector
inVec= (Vector) vData.elementAt(iCount);

<TD align ="right"><INPUT TYPE="text" maxlength ="6" size="6" NAME="CMP<%=iCount%>" class = "textNumericCell" DISABLED VALUE="<%=(String) inVec.elementAt(3)%>"

Then inVec.elementAt(3) contains number data.

I want to add a column let say Total no. which will add all the data of
inVec.elementAt(3) and display it.

How can i add the 2 dimension matrix data and dispaly all the numbers.

Please suggest me the needful.
Regards
Sumanta Panda
 
sumanta panda
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I request all of you please guide me the needful.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this.
 
sumanta panda
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,
I agreed your view.Kindly advise me any one for my question.

Regards,
Sumanta
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe I am not getting the question but is it not as simple as

you add them as you populate.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!