Initialization options : Data Option and ajax Option

Initialization options : Data Option and ajax Option

Chandler242Chandler242 Posts: 21Questions: 7Answers: 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: 12,109Questions: 0Answers: 2,059

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

    Colin

  • Chandler242Chandler242 Posts: 21Questions: 7Answers: 0

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

    YL

Sign In or Register to comment.