nodegui/react-nodegui

Mobx Table cellRange not working?

phungthelam1996 opened this issue · 1 comments

Describe the bug
Console.log showing Row "1" is out of range "-1" when change table data

How to fix
Add code to file RNTable.js

    set cellRange(range) {
      widget.setRowCount(range.row);
      widget.setColumnCount(range.column);
    }

on setTableProps function -> setter

Sorry. My English very bad!!

a7ul commented

Hi @phungthelam1996 can you raise a pr for this?