In This Topic
You can use AJAX to update the grid when the user edits a record at run time. For more information about editing records, see the Editing Rows topic.
To enable AJAX when editing a record, complete the following steps:
- Select the C1GridView control and click the Smart Tag to open the C1GridView Tasks menu.
- Select Property builder. The C1GridView Properties dialog box (the Property builder) appears.
- Click the Columns tab and expand the Command Column node in the list of Available columns.
- Click Edit, Update, Cancel and then click the arrow button to add the Edit, Update, Cancel button column to the list of Selected columns.
- Click OK to close the Property builder.
- With the C1GridView control still selected, expand the CallbackSettings node, click the drop-down arrow next to the Action property in the Properties window, and check the Editing check box.
What You've Accomplished
Run the program and notice that only the grid refreshes when you click the Edit button. The entire page does not have to reload.
See Also