Initialization options : Data Option and ajax Option

Initialization options : Data Option and ajax Option

Chandler242Chandler242 Posts: 36Questions: 12Answers: 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: 15,240Questions: 1Answers: 2,599

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

    Colin

  • Chandler242Chandler242 Posts: 36Questions: 12Answers: 0

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

    YL

This discussion has been closed.