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. Image for the cookie policy date

Events for Selection Changed Required

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.

1 Reply

AD Administrator Syncfusion Team 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; }

Live Chat Icon For mobile
Up arrow icon