ce icon indicating copy to clipboard operation
ce copied to clipboard

is there any event for insert row before or insert row after?

Open caotoanbk opened this issue 7 years ago • 3 comments

Hi, how i can handle event when insert row after or insert row before?

caotoanbk avatar Jul 26 '19 14:07 caotoanbk

please read doc. https://bossanova.uk/jexcel/v3/docs/events has event when insert row after oninsertrow

oninsertrow | After a new row is inserted.

TsePakKwan avatar Jul 27 '19 04:07 TsePakKwan

hi, i means "Insert a row after", "Insert a row before" when right-click on jexcel table .Thanks

caotoanbk avatar Jul 27 '19 09:07 caotoanbk

You have two 2 methods:

onbeforeinsertrow oninsertrow

You can define a method that will handle your event in case an insertMethod is invoked.

The onbeforeinsertrow should return true or false. The latter in case you would like to cancel the insert command.

pphod avatar Jul 27 '19 11:07 pphod