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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Sorry all i am choosing wrong forum for this question.Please reject it.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic