Skip to Content

how to modifying a single cell ina grid in udt

Dec 01, 2017 at 11:29 AM


avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Danilo Kasparian 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"
Show 2 Share
10 |10000 characters needed characters left characters exceeded

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


can you share your code that is filling the grid?