| |
| ASP.NET Pages with Data |
| Format the MxDataGrid |
In this walkthrough, you will change the
formatting and behavior of the MXDataGrid.
- Open the myFirstDataGrid.aspx file in Design view.
- Select the MXDataGrid control.
- Select the AllowPaging property in the Properties window.
- Set the AllowPaging property of the MXDataGrid to
False. This property toggles the paging functionality of the
MXDataGrid.
- Select the Fields property in the Properties window.
- You will see the Collection Editor dialog box appear.
- Change the HeaderText property of the OrderID column
from OrderID to ID.
- Click OK.
- Save and run the ASP.NET page.
- Your ASP.NET page will automatically appear in a new instance of your
Web browser. Note the first column header is ID and the page number
no longer appears at the bottom of the MXDataGrid.
- Close the Web browser instance.
Next Step >> |
|