![devexpress aspxgridview devexpress aspxgridview](https://i.ytimg.com/vi/yUKCdtJOJb4/maxresdefault.jpg)
![devexpress aspxgridview devexpress aspxgridview](https://origin2.cdn.componentsource.com/sites/default/files/styles/social/public/news/feature-releases/2011/06/14/aspxgridview-editors-suite.png)
= true Specify grid2 As a data table from the table. List Element with List Attributes( Category.Products ) And need to start with Grid Display in a nested manner.ġ、 Selected GridView ( gird1 ), right-click menu and select "Edit Template" - “ DetailRow ", the page opens the detailed data interface, DetailRow Add a new ASPxGridView ( grid2 ) Display detailed data, can be set grid2 of Columns Related attributes. Summary Specify the format of page summary information SEOFriendly Whether to enable search engine optimization If the data has been loaded, change it immediately after modification.ĪllButton.Text The text of the "All data display" buttonĪllButton.Visible Whether to display the "All data display" buttonįirstPageBuotton/LastPageButton/NextPageButton/PrevPageButton/ Corresponding to the first page, last page, next page, and previous page, the settings are the same as above. PageSize The amount of data displayed per page. SettingsBehavior.AllowFocusedRow=true Highlight the selected row ASPxGridView1.SettingsPager Select Change To on the toolbar You can change the editing mode when adding or modifying.ĪSPxGridView1. The new column is GridViewDataTextColumn by default, and edit it with a text box when adding or modifying.
#Devexpress aspxgridview update
Directly update data and sub-table binding need to be usedĪSPxGridView1.DataSource = list // Specify Grid dataĪSPxGridView1.DataBind() // Perform bindingĪfter selecting the GridView, right-click the menu and select "Columns … "You can open the column setting dialog box, set the column title (Caption), data field (FieldName) and other attributes. ASPxGridView1.KeyFieldName = "ID" // Specify the primary key.