Get the current flexgrid grid

Posted by: a.luis on 8 September 2022, 12:13 am EST

    • Post Options:
    • Link

    Posted 8 September 2022, 12:13 am EST

    How to get the current flexgrid from GridId without creating anew one?

    I’m trying to determine the actual selected row count in OutSystems and I’m using this function:

    function showCheckedCount(gridID) {
        const grid = new wijmo.grid.FlexGrid(gridID, {});
        sel = grid.rows.filter(r => r.isSelected);
        cnt = sel.length;
        return cnt;
    }
    

    But the grid already exists and so I’m getting an error.

    Can someone help?

  • Posted 8 September 2022, 1:59 pm EST

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels