Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    update database table on edit. serverType sql

    Hi everyone

    i am using smart gwt 2.3. and i have a grid, and when i edit the grid i need to update the values in the database table. the grid is directly binded to sql table via ds.xml
    Code:
    <DataSource
     	ID="configureProgramGrid"
        dbName="SQLServer"
        serverType="sql"  
        tableName="STA9Table" 
     	>
    <fields>
    <field name="Program_id"  type="text"  primaryKey="true"/>
    <field name="Screen_Field_id"  type="text"  primaryKey="true"/>
    <field name="Screen_field_title" type="text"/>
    <field name="Is_Configurable" type="boolean"/>
    <field name="Is_Mandatory" type="boolean"/>
    </fields>
    </DataSource>
    and i am calling saveAllEdits on a button click after editing the grid.
    but how can i update the values in database table without going into server method

    thanks
Working...
X