CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 How to access the control values of Editable Grids

Print topic Send  topic

Author Message
har

Posts: 9
Posted: 04/07/2009, 7:32 AM

Hi there!

I found an interesting Topic named "How to access the control values of Editable Grids" (http://forums.codecharge.com/posts.php?post_id=60507) and need the possibility to use the exact code like

<form_name>Elements[j]<form_name><control_name>ID].value

but cant get it working, however I try. Also I tried to find that array somewhere in the code, but its nowhere initialized...

For the time beeing I solved the part like that:

for(var i=0; i<RowCnt; i++) {  
   var myrow = myTABLE.rows;  
  
   switch(i) {  
      case 0:  
         CellsValue = new Array(  document.image_article_image.imageid_1.value,  
            myrow.cells[0].innerHTML, document.image_article_image.thetitle_1.value,        
            document.image_article_image.mainimageid_1.value);  
         break;  
      case 1:  
         CellsValue = new Array(  document.image_article_image.imageid_2.value,  
            myrow.cells[0].innerHTML, document.image_article_image.thetitle_2.value,        
            document.image_article_image.mainimageid_2.value);  
         break;  
      case 2:  
         Cells.....  
         break;  
      case 3:  
         Cells.....  
         break;  
      default:  
         break;  
      }  
}  

It's fixed to 4 rows at the moment but should be completely free up to X rows...
Therefore I need the array, but cant get it work like in that example.

Can anyone help me?

Thx a lot, Hartmut
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.