Initialization options : Data Option and ajax Option

Initialization options : Data Option and ajax Option

Chandler242Chandler242 Posts: 18Questions: 6Answers: 0

I wonder if both data option and ajax option are initialized as follows:

data: dataSet,

ajax: '/api/dataSet'

which one will be loaded.

YL

Answers

  • colincolin Posts: 10,937Questions: 0Answers: 1,863

    Not sure, but easy for you to test! :) Is there a reason why you'd want both?

    Colin

  • Chandler242Chandler242 Posts: 18Questions: 6Answers: 0

    No. I just wanted to better understand both. I will test it. Thank you.

    YL

Sign In or Register to comment.