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 2015-02-03 19:02:49

Raza
Member
Registered: 2015-02-03
Posts: 3

Event handle issue. from 0.8.8.4

Hi!
unvell.ReoGrid.ReoGridControl does not contain a definition for CellMouseDown. how i resolve this error and register my event in deginer class.

Offline

#2 2015-02-04 00:13:32

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

Re: Event handle issue. from 0.8.8.4

Hi, try use this code:
VB.NET:

Dim sheet = grid.CurrentWorksheet
AddHandler sheet.CellMouseDown, AddressOf grid_CellMouseDown

C#:

var sheet = grid.CurrentWorksheet;
sheet.CellMouseDown += grid_CellMouseDown;

Last edited by Jingwood (2015-02-04 00:13:39)

Offline

#3 2015-02-04 03:42:18

Raza
Member
Registered: 2015-02-03
Posts: 3

Re: Event handle issue. from 0.8.8.4

Thank you so much Jing. Now, Its working fine.

Offline

Board footer

Powered by FluxBB