ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2016-06-03 10:54:30

Raj100
Member
Registered: 2016-06-03
Posts: 5

How to Add CellDataChanged Event

Sir,
how to add Handlers for cellDataChanged and cellselection changed ?

Please help me..

this query is correct or not ?

Public Class ReoHandler
    Shared Sheet As unvell.ReoGrid.Worksheet
    Sub New()
        AddHandler Sheet.CellDataChanged, AddressOf Cell_Edit
    End Sub

    Private Sub Cell_Edit(ByVal sender As Object, ByVal e As CellAfterEditEventArgs)
        Dim cell As ReoGridCell = e.NewData
        Dim valeur As String
        valeur = Sheet.GetCellData(cell.Address)
    End Sub
End Class

Last edited by Raj100 (2016-06-03 11:36:30)

Offline

#2 2016-06-03 14:44:19

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: How to Add CellDataChanged Event

What do you want to do after handling the CellDataChanged event?

If you want to get data then I think you just have to use the e.NewData property.

Dim data as object = e.NewData

Offline

#3 2016-06-04 10:33:11

Raj100
Member
Registered: 2016-06-03
Posts: 5

Re: How to Add CellDataChanged Event

Thank you for replay...

which method need to overried for handling the CellDataChanged  event?

Last edited by Raj100 (2016-06-06 05:02:20)

Offline

#4 2016-06-07 05:24:19

Raj100
Member
Registered: 2016-06-03
Posts: 5

Re: How to Add CellDataChanged Event

Actually i was post wrong Quetion.

i was problem with implementing handlers.
but i found it.
working fine.

Thank you..

Offline

Board footer

Powered by FluxBB