Editable DataGrid Query

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

CompanyDeveloper NamePhoneLast Update
Construction Data ServicesJames K. Fluffy626-401-003907/16/08 12:15pm
Contanetica S.A. de C.V.Daniel Porras Allende222222+632 893-113907/07/08 09:43am
Cross Road Consulting, IncPaul McCoyewfedasdf601 922 553307/21/08 02:12am
Custom Softworks TestMarty Cantwell816-254-973007/12/08 02:10pm
Cyberlogic Pty. Ltd.Chancelor61 3 8790605505/27/08 11:23pm
DNG SolutionsDarrell Gardnera714-283-911106/12/08 06:55am
Dahlke-Datentechnikjhghkuhkuhe0892070025006/26/08 01:03pm
Data ActiveChris Collins+61 +3 9245 855505/26/08 02:54am
Data DemonsJoey Catanzaro901-553-702707/24/08 08:43am
Delta Business Group, LLCJames R Osieczonek517-323-971407/03/08 05:03am
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.