0

Claim: I am a newbie for Extjs.
I am working on a project by using Extjs.
but confused about for the button setting:
Like

var result = action.result;
  if (result.success) {
    Ext.MessageBox.alert('Success',action.result.msg);
  }
  else {
    Ext.MessageBox.alert('Failure',action.result.msg);
  }


My question is for the result, what else properties or other function I could use for this 'result', except "success" and "failure"?

Thank you.

1 Answer 1

2

The ext api doesn't have any specific documentation on the result beyond a vague explanation of what it does, but here is the Action.result source code. You can look at how success is defined and go from there.

For other questions like this, you should look into the ext api. Sencha works hard to document ext well; so you should use that work to your advantage.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.