I’ve employed a jqxDropDownList utilizing the onSelect event which gives an argument to the function that has an “args.type” property which allows you to evaluate whether the event was triggered by a “keyboard”, “mouse” or null (null meaning it was triggered programmatically).
I don’t see the same “args.type” property when using the jqxGrid control. Is there a similar property for it?
The event args has got a type property. See the following example in which a dropdownlist is used as an editing control in a Grid:
You can open the console and see that there is a type property.
If you have any additional questions, do not hesitate to contact us!
I may be reading you answer incorrectly but….as noted above, I understand that there is an “args.type” for the dropdownlist and I am using it. I’m asking if there is a similar property for the jqxGrid? Does the jqxGrid have a property that I can reference (similar to the dropdown) that indicates whether a keyboard, mouse or programmatic call was made?
You need a similar property, but for which event of the jqxGrid? I could not understand you.
I have shown you the onSelect event of the dropdown in the grid, but you need it for the actual jqxGrid.
I will be waiting for your response so I can help you!
Yes, that’s correct. For instance on the onRowSelect event. This event fires when the row is selected by a user and programmatically. Is there a way to determine if it was based on a user event vs a call within the code?
You must be logged in to reply to this topic.