jQuery UI Widgets Forums Grid jqxGrid expandgroup

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 9 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jqxGrid expandgroup #107479

    andreopmaria
    Participant

    Hello,

    using the expandgroup method after the updatebounddata, it’s seems it doen’t work, is there any other solution??

    updaterow: function (rowid, rowdata, commit) {
                        grid.jqxGrid('hidevalidationpopups');
                        $.ajax({
                            type: type,
                            datatype: datatype,
                            url: url + '&action=update&id='+rowdata.id,
                            data: JSON.stringify(datafieldsFormat(rowdata, datafields)),
                            success: function (data) {
                                if (!data) {
                                    commit(true); 
                                    //grid.jqxGrid('updatebounddata', 'data');
                                    //grid.jqxGrid('updatebounddata', 'cells');
                                    //grid.jqxGrid('updatebounddata', 'filter');
                                    //grid.jqxGrid('updatebounddata', 'sort');
                                    grid.jqxGrid('updatebounddata');
                                    grid.jqxGrid('expandgroup', group - 1);
                                } else {
                                    var arr = JSON.parse(data);
                                    grid.jqxGrid('showvalidationpopup', rowdata.boundindex, arr.Datafield, arr.ErrorMessage);
                                    commit(false);
                                }
                            }
                        });
                    },
    jqxGrid expandgroup #107497

    Hristo
    Participant

    Hello andreopmaria,

    Is there any error message in the console?
    I tested this example and it seems to work fine.

    Best Regards,
    Hristo Hristov

    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.