jQWidgets Forums

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts

  • Fiham
    Participant

    Hi Hristo,

    Thank you for the demo links. what I need can be achieved from the second demo link (jqxtreegrid) provided. Thank you


    Fiham
    Participant

    This cannot be used inside the loadServerData function. This cannot be used inside an adapter.

    var countriesAdapter = new $.jqx.dataAdapter(countriesSource, {
                    autoBind: true,
                    loadServerData: function (serverdata, source, callback) {
                        $.ajax({
                            dataType: source.datatype,
                            url: "https://my-json-server.typicode.com/typicode/demo/comments",
                            data: serverdata,
                            success: function (data, status, xhr) {                           
                                // send the loaded records to the jqxDataAdapter plug-in.
                                callback({ records: data });
                            }
                        });
                    }
                });

    I need to pass the Url as https://my-json-server.typicode.com/typicode/demo/comments?id = 1 for second row https://my-json-server.typicode.com/typicode/demo/comments?id = 2 id value contain inside current rows another column.


    Fiham
    Participant

    Hi admin,

    This is not regarding the dropdownList Issue. The issue was in the Grid. How to send the current row values to loadServerData. This example doesn’t relate to the question. There are two columns one column value contain a Id value and other column contains a dropdownList, dropdownList data will load from a server to load from server i need to send current row Id column value in loadServerData.

    in reply to: Select a panel Select a panel #95354

    Fiham
    Participant

    Thanx a lot you saved my day

    in reply to: Select a panel Select a panel #95307

    Fiham
    Participant

    But cannot use the saveLayout or loadLayout , because i need to select OutputPanel or ErrorPanel based on some bit i using. i have been stucked in jqxLayout

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