jQuery UI Widgets › Forums › Grid › Creating data adapter in typescript

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 6 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Creating data adapter in typescript #108079

    ajcs
    Participant

    Using typescript I still seem to have to create my data adapter like this:
    var daMain = new $.jqx.dataAdapter(datasource …..

    I was expecting to do it like this:
    var daMain = jqwidgets.jqxDataAdapter = jqwidgets.createInstance(…..

    But you don’t seem to have jqwidgets.jqxDataAdapter

    Like you can with a button:
    var btnSave: jqwidgets.jqxButton =
    jqwidgets.createInstance(‘#btnSave’, ‘jqxButton’, {
    width: 120,
    height: 40,
    ……
    });

    Creating data adapter in typescript #108084

    Martin
    Participant

    Hello ajcs,

    Yes, you are right. This is the way for creating the data adapter.
    Unfortunately, there is not such type defined.

    Best Regards,
    Martin

    jQWidgets Team
    https://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.