Value changes in a datagrid

amber

Member
Joined
Oct 27, 2004
Messages
20
Programming Experience
Beginner
Hello,

How can I trigger an event, when a value (cell) in my datagrid changes?
The closes I've found is datagrid_currentCellChanged - but this eventis triggered even if the data within a cell hasn't changed.

TIA,
amber
 

mzim

Well-known member
Joined
Jun 3, 2004
Messages
187
Location
Other side of the rock
Programming Experience
1-3
amber said:
Hello,

How can I trigger an event, when a value (cell) in my datagrid changes?
The closes I've found is datagrid_currentCellChanged - but this eventis triggered even if the data within a cell hasn't changed.

TIA,
amber
do you use dataset and bind to your datagrid?

if so, try to use the property of dataset.

dim ds as new dataset()
if ds.haschanges then
'do something
end if
 

amber

Member
Joined
Oct 27, 2004
Messages
20
Programming Experience
Beginner
Yes!
That's exactly what I was trying to do.
Thanks!
amber
 
Top Bottom