tonytomov / jqGrid

jQuery grid plugin
www.trirand.com
2.85k stars 1.2k forks source link

subgrid expandOnLoad bug #892

Closed Markus1980Wien closed 6 years ago

Markus1980Wien commented 6 years ago

modify jquery.jqGrid.js to fix a bug with subgrid - expandOnLoad when "multiselect"

    if(ts.p.subGridOptions.expandOnLoad === true) {
        $(ts.rows).filter('.jqgrow').each(function (index, row)
        {
            // MBU 06.11.2017 Bugfix.
            // Don't perform a click on the first column.
            // if 'multiselect' is enabled for the grid, first column will be a checkbox - column
            //$(row.cells[0]).click();
            $(row).find("td.ui-sgcollapsed").click();
        });
    }
tonytomov commented 6 years ago

Thanks. Will be fixed.