Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

Multiple selection using checkbox in a Master-Detail grid

$
0
0

The following example shows how to implement multiple selection in case of a web style (via check boxes) in a Master-Detail. This example is created based on the Multiple selection using checkbox (web style) example.
The main specifics of operating detail views is that each detail view is a clone of a detail "pattern" View, which serves as a template for creating clones. Detail clones only exist when master rows are expanded. Therefore, you cannot customize each detail clone at design time, and in most cases this is unnecessary. Instead, you can customize the detail "pattern" View. The Pattern and Clone Views article describe this behavior in greater detail.

The GridCheckMarksSelection helper class contains all code related to the selection. To implement the selection in a grid, attach its main view to a helper class instance.

Note: This solution is applicable for a two-level grid: MainView - DetailViews

See Also:
How to use an unbound check box column to select grid rows
Multiple selection using checkbox (web style)
How to select rows via an unbound checkbox column


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>