Ask Your Question
1

What is the method for obtaining the chosen row in a detail grid within a Master-Detail GridView?

asked 2022-07-05 11:00:00 +0000

scrum gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-01-29 01:00:00 +0000

djk gravatar image

To obtain the chosen row in a detail grid within a Master-Detail GridView:

  1. Get a reference to the GridControl.
  2. Call the GridControl's GetDetailView method and pass in the index of the master row and the index of the detail level.
  3. Get a reference to the detail view's GridControl.
  4. Call the detail view's GetSelectedRows method to get the array of selected rows.
  5. Access the first element of the array to get the selected row.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-07-05 11:00:00 +0000

Seen: 11 times

Last updated: Jan 29 '23