Question
· Feb 2, 2018

OnDrawCell triggers the onselectrow attribute.

I am using OnDrawCell for a column in a tablepane. The OnDrawCell triggers the onselectrow attribute of the tablepane. I only want to reformat the data in the column. Is there a way to not trigger the onselectrow? Thank you.

Discussion (1)0
Log in or sign up to continue

property onselectrow as %ZEN.Datatype.eventHandler;

onselectrow event handler: This event is fired when a new row is selected. This event is passed a variable, which, which indicates how the row was selected: "", "click" or "keypress".

I'd assume in your case as you did neither "click" nor "keypress"    var which ="" will apply.

So you may use this to ignore the call and return without action.