Giter Site home page Giter Site logo

Exception if row add about dataeditr HOT 2 CLOSED

dillonhammill avatar dillonhammill commented on July 18, 2024
Exception if row add

from dataeditr.

Comments (2)

DillonHammill avatar DillonHammill commented on July 18, 2024

@SatCat, after looking into this, I think that this is an issue with rhandsontable. I thought it may be due to the NA that is placed in the dropdown column when a new row is added, but this doesn't seem to be the case. In fact, if you try and do the same operation with a checkbox column this works as expected. I will look into the rhandsontable code when I get time, but in the meantime you may have to type this in manually if you wish to add rows.

from dataeditr.

DillonHammill avatar DillonHammill commented on July 18, 2024

@SatCat, I have tracked down the issue to genRowHeaders in rhandsontable which is being invoked even when the number of rows is unchanged. This particular issue results from an afterChange event which does not contain a ct as required by the genRowHeaders code. I will need to look into this further to properly figure out why this is happening, in the meantime I have pushed a fix to my rhandsontable fork that should resolve this issue:

devtools::install_github("DillonHammill/rhandsontable")

I am just basically bypassing the genRowHeaders code if the event does not alter the number of rows in the data. You will also need the devel version of DataEditR for this to work:

devtools::install_github("DillonHammill/DataEditR", ref = "devel")

from dataeditr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.