Forums

Browse by Tags

> All Tags > xtragrid > best
  • Re: Edit Datagrid Via Another Control

    Thanks Holger. My code now looks like the following (sanitized): BindingSource bsrc = (BindingSource)gridControl.DataSource; int rowNumber = gridView1.FocusedRowHandle; ((System.Data.DataRowView)bsrc.List[rowNumber]).DataView[rowNumber].Row[1] = txtBox.Text.Trim(); } This combined with DataTable dtch...
    Posted to XtraGrid (Forum) by AndrewJacksonZA on 1/16/2008
    Filed under: xtragrid, gridview, practice, bindingsource, tableadapter, correct, bestpractice, dataset, edit, datarow, control, way, best, editing
  • Re: Edit Datagrid Via Another Control

    Thank you for your reply Holger. Unfortunately it doesn't seem to be working. Perhaps I wasn't explaining myself properly. Please see the following code sample. It has been sanitized, so if anything is unclear, please feel free to ask. // Begin Proposed change int[] selectedRows = gridView1.GetSelectedRows...
    Posted to XtraGrid (Forum) by AndrewJacksonZA on 1/15/2008
    Filed under: xtragrid, gridview, practice, bindingsource, tableadapter, correct, bestpractice, dataset, edit, datarow, control, way, best, editing
  • Edit Datagrid Via Another Control

    DX7.2.2 What is the best way to edit data in other controls and have the changes reflect on the datagrid/gridview? Something along the lines of: DataRow row = gridView1.GetDataRow(gridView1.GetSelectedRows()[0]); row.ItemArray[4] = txtBox.Text.Trim(); gridView1.GetDataRow(gridView1.GetSelectedRows()...
    Posted to XtraGrid (Forum) by AndrewJacksonZA on 1/14/2008
    Filed under: xtragrid, gridview, practice, bindingsource, tableadapter, correct, bestpractice, dataset, edit, datarow, control, way, best, editing
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.