Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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

 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • 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 ><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
  • Report post to moderator
Sorry all i am choosing wrong forum for this question.Please reject it.
 
Do not threaten THIS beaver! Not even with this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic