k0de Posted September 30, 2011 Share Posted September 30, 2011 Hallo. How do I call a function from ExtJs if the event is not provided for by the parameter of the "sender"? example: UniStringGrid has event function OnAfterEdit(value, originalValue, row, column) { }, but does not have a parameter of the "sender". How to run a function in the procedure TMainForm.UniStringGrid1AjaxEvent(Sender: TComponent; EventName: string, Params: TStrings); begin end; ??? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 10, 2011 Administrators Share Posted October 10, 2011 Hallo. How do I call a function from ExtJs if the event is not provided for by the parameter of the "sender"? example: UniStringGrid has event function OnAfterEdit(value, originalValue, row, column) { }, You can use this function OnAfterEdit(value, originalValue, row, column) { ajaxRequest(this, 'MyEvent', [ 'param0=A', 'param1=B' ]); } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.