GithubHelp home page GithubHelp logo

Comments (6)

ghiscoding avatar ghiscoding commented on June 15, 2024 1

ahhh ok I can take a look at the insert, I actually never used it even though I added the feature. I have Cypress test for that feature but only for 1 insert which is probably why I didn't catch this issue.

from angular-slickgrid.

ghiscoding avatar ghiscoding commented on June 15, 2024 1

I pushed a fix in Slickgrid-Universal as referenced in the link above, this will be released in a couple days but will only be available for v7.x since I don't want to support older versions of Angular-Slickgrid/Slickgrid-Universal (it's too much work for a sole developer like me on these open source projects)

from angular-slickgrid.

ghiscoding avatar ghiscoding commented on June 15, 2024

I cannot reproduce this on my side, the Example 30 already has console log on the onSave and editing a single row (from Action menu "Edit Row" on the right), everything seems fine by me. Below is the live demo with editing 2nd row then 4th row and finally the 5th row, then you can see in the console that the data context is correct

image

Note that I have now published v7.0 a couple days ago and therefore I stopped supporting v6.x.

from angular-slickgrid.

rossmills99 avatar rossmills99 commented on June 15, 2024

I've reproduced using the demo page, here I've just added "Task 102" but the data context has "Task 99":

image

The issue occurs when creating new items in the grid, rather than editing existing items. I may be misinterpreting the purpose for the onSave arguments mind you - I was using dataContext because I do not see any values passed in the first argument (formValues), but perhaps the dataContext means something different than what I was expecting?

from angular-slickgrid.

rossmills99 avatar rossmills99 commented on June 15, 2024

Thanks for looking at that, and for the work you are open-sourcing with this project!

For my own use case, I think I will move away from using the composite editor and implement dialogs separately, just to have more control over the behaviour. The great thing is there sees to be plenty of flexibility to do that.

from angular-slickgrid.

ghiscoding avatar ghiscoding commented on June 15, 2024

closed by #1337

from angular-slickgrid.

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.