Editable DataGrid Query

 Sample Home | Reset Form | Basic Grid Example
Enter a Company:

Company Developer Name Phone Last Update
Ace.k2 AAAArrrr   Mar. 17, 2010 8:15am
DFSDAFASF Joey Catanzaro 901-553-7027 Mar. 17, 2010 11:15am
Data Actives John Mellumberg +61 +3 9245 8555 Feb. 25, 2010 13:03pm
Data Demons111 hhh Joey Catanzaro wwwww 802-865-0920 Mar. 10, 2010 7:38am
Delta Business Group, LLC James R O sieczonek gfddfg 517-323-9714 Mar. 6, 2010 23:34pm
Engineering Design Systems, Inc. Steve Finch 540-345-1410 Mar. 7, 2010 14:54pm
Enterprise Systems, Inc. Jerry Ott 9258376398 Mar. 4, 2010 16:00pm
Erwin Setiawan Erwinss Lopez (419)866-3987 Feb. 9, 2010 6:08am
Figtree Software Abby Rosenstein 973-539-9311 Mar. 4, 2010 12:42am
GMR Company Harvey Mushman 310.555.1212 Mar. 17, 2010 10:44am
Pages: 1 2 3 4 5 6 7 8
Ready



This example displays a data grid that is interactively editable through use of a client wwEditable class. A small bit of client code enables editing for the table's cells with events firing when the edited field is moved off of. This updates the content of the original cell. This example calls back to the server to send the updated values. The server can then write the data to the database. This example, doesn't write to the database (to avoid massive vandalism) but it echos back the data received from the client. This sample passes the value, a row Pk and the column name that was edited. These values were retrieved based on the row (which contains encoded key info) and Css classes that identify the columns. The Ajax callbacks are made through wwMethodCallback which calls a single method UpdateFields in the server form.