jQWidgets Forums

jQuery UI Widgets Forums Grid PowerApps + Typescript

This topic contains 1 reply, has 2 voices, and was last updated by  Todor 5 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • PowerApps + Typescript #105472

    parthrawal
    Participant

    Hi,

    I am in process of making the grid in PowerApps. which is requires only the .ts files and no other. I want to Import the Jquery + Grid.

    Index.ts

    import {IInputs, IOutputs} from "./generated/ManifestTypes";
    // @ts-ignore
    import * as debug from "./libs/JS_HelloWorldControl.js";
    
    import * as __grid from "./libs/typescript-grid-grouping";
    // @ts-ignore
    import * as $ from "./libs/jqx-all";

    typescript-grid-grouping.ts

    /// <reference path="jqwidgets.d.ts" />

    After this references and imports. I could successfully compile the Project. but when I run the solution it throws and an $ is undefine. at
    let dataAdapter = new $.jqx.dataAdapter(source);
    in typescript-grid-grouping.ts

    Any thoughts ?

    PowerApps + Typescript #105488

    Todor
    Participant

    Hello parthrawal,

    I would like to suggest you two options that you could try:

    1) import only jqx-all. It contains all widgets within.

    2) import only all the files that jqxGrid(e.g. jqxcore, jqxgrid, jqxgrid.sort, jqxgrid.pager, jqxgrid.selection) uses plus jqxcore , and remove jqx-all.

    Let us know if you need further assistance.

    Best Regards,
    Todor

    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.