ComponentOne GridView for ASP.NET WebForms
Quick Start / Step 2 of 3: Customizing the C1GridView Control
In This Topic
    Step 2 of 3: Customizing the C1GridView Control
    In This Topic

    In the previous step of the quick start you created a simple grid application and bound the grid to a datasource. In this step you'll customize the initial grid application further by changing the grid's appearance and behavior settings.

    Complete the following steps to continue:

    1. Click once on the C1GridView control to select it and navigate to the Properties window.
    2. Click the drop-down arrow next to the Theme property and select arctic in the list of themes. For more information, see the Themes topic.
    3. Click the C1GridView control's smart tag, and in the C1GridView Tasks menu, select Property builder.
    4. The C1GridView Properties dialog box will open.
    5. On the General tab, select the Allow sorting check box. Under Client-side select the Allow column moving check box.
    6. Click the Paging tab, and click the Allow paging check box. Note that, by default, Bottom is selected for the position of the navigation, and the Numeric mode is selected.
    7. Click the Columns tab in the C1GridView Properties dialog box. Here you can add and remove columns and change column settings.
    8. In the Selected columns list, choose any columns you wish to remove and press the  button. For example, remove the ProductID, SupplierID, CategoryID, UnitsOnOrder, and ReorderLevel columns.
    9. Click Apply to apply your changes, and click OK to close the C1GridView Properties dialog box.

    You've now completed binding the C1GridView control and customizing the grid's appearance and behavior settings. In the next, and final, step you'll run your application to observe the changes you made.

    See Also