The DevExpress ASP.NET Vertical Grid (ASPxVerticalGrid) provides the capability to allow end-users to select columns using checkboxes. To do this, add a command row to the ASPxVerticalGrid and set its ShowSelectCheckBox property to ‘true’. The row will display check boxes within its cells. End-users can check or uncheck these check boxes to select or deselect the corresponding columns.
This demo illustrates how you can display a headphone’s model and price selected within the ASPxVerticalGrid in a list box. The client-side SelectionChanged event is handled to display the selected headphone’s model and price in the list box, and the total number of selected columns below the list box. Models and prices are obtained using the GetSelectedFieldValues function. The number of selected columns is returned by the GetSelectedRecordCount client function.