cancel
Showing results for 
Search instead for 
Did you mean: 

how to modifying a single cell ina grid in udt

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member233854
Active Contributor
0 Kudos

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"
Former Member
0 Kudos

but the new value must to be the writes on the cell, right?

former_member233854
Active Contributor
0 Kudos

can you share your code that is filling the grid?