You are not logged in.
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.
Pages: 1
Topic closed
Hello Jing,
I want to know if there is way to set a ReogridCell? I am using the CellEventArg and when i do new CellEventArg(), right now i am setting the reogridcell like this "new celleventarg(sheet.cells("A1"))" is there another way to do it?
Shane
Offline
Hi Shane, no you can't set cell. All cell instances are managed by ReoGrid core. Why do you want to do it?
Offline
Hello Jing,
I am using the cell data in different methods and checking data and i was using the CellEventArgs to pass the data to the methods. it is easier to check the row, col and address of the cell. what did do if works is made variable with reogridcell and set equal to the sheet cell i want to use.
I am basically using your spreadsheet control to make the display UI, its lot easier work with then labels and textboxes, but i have manage lot more events, which is little harder.
Shane
Last edited by asparatu (2016-04-13 04:00:24)
Offline
I think you may have to use your own object to carry cell and other information rather than CellEventArgs, it is an event argument should only work for its event.
Offline
Hello Jing,
when i was using the celleventargs, it was using from the event itself and going to another method that handle it. I think i can do this and might work, but have not tried to see if works.. I know i can assign like that, but removed it and did something else.
dim cell as reagridcell = sheet.cells("A1")
Shane
Offline
Pages: 1
Topic closed