0

HELP ADD ROWS TO A GRID AND SAVE THE INFORMATION IN A DATABASE

asked 2013-06-20 20:18:16 +0800

Jorgecontreras gravatar image Jorgecontreras
1 1

updated 2013-06-20 23:13:31 +0800

Help, I need to make a grid puedad you add rows, the grid has three columns

<hbox>

<button label="Agregar" onclick="addagregar()" image="/img/16x16/add.png"/>

<button label="Borrar" onclick="bodelete()" image="/img/16x16/remove.png"/>

</hbox>

</groupbox>

  <grid>

        <columns>

          <column label="Longitud"/>
          <column label="Altura"/>
          <column label="Superficie"/>
          </columns>
        <rows id="vallasadd" >
          <row >
          <intbox id="longitud" constraint="no negative,no empty" value="0"/>
          <intbox id="altura" constraint="no negative,no empty" value="0"/>
          <intbox id="superficie" value="0" readonly="true" style="color: red" />   
          </row>
        </rows>
   </grid>
   <zscript><![CDATA[

    public void addagregar() throws Exception {  
    }

    public void bodelete() throws Exception {      
    }
    ]]></zscript>
delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-06-20 20:18:16 +0800

Seen: 12 times

Last updated: Jun 20 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More