We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Events for Selection Changed Required

Thread ID:

Created:

Updated:

Platform:

Replies:

33020 Aug 11,2005 12:43 PM UTC Aug 11,2005 02:24 PM UTC WinForms 1
loading
Tags: GridControl
Vinay
Asked On August 11, 2005 12:43 PM UTC

On selection of Row, I need to change Datasource of another grid, first column in the grid is my primary key any need to catch that Suggest me which event will be best in this regard.

Administrator [Syncfusion]
Replied On August 11, 2005 02:24 PM UTC

If this is a GridDataBoundGrid, there aremany ways to go about this. One way is to use the RowEnter event. private void gridDataBoundGrid1_RowEnter(object sender, GridRowEventArgs e) { int colIndex = this.gridDataBoundGrid1.Binder.NameToColIndex("pkName"); object val = this.gridDataBoundGrid1[e.RowIndex, colIndex].CellValue; }

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;