Skip to Content
avatar image
Former Member

how to modifying a single cell ina grid in udt

Got a problem I hope someone can assist me with. I have a custom program generating an editable grid

I can add and delete column with events, but how can i modifying cell by cell?

Any thoughts would be greatly appreciated. Btw, my knowledge of OO is passable, but not great, so any explanations of what the code is doing in a proposed solution would be greatly appreciated.

thank you

captura.png (70.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 01, 2017 at 03:46 PM

    Assuming your grid is connected to a datatable you can edit the datatable

    yourGrid.DataTable.Columns.Item("YOURCOLUMN").Cells.Item(ROWNUMBER).Value = "YOUR NEW VALUE"
    Add comment
    10|10000 characters needed characters exceeded