Git Product home page Git Product logo

Comments (6)

ghiscoding avatar ghiscoding commented on June 6, 2024

not sure to understand your problem I've never seen anything like you're saying but I never change that flag suppressActiveCellChangeOnEdit (seems to be true in global grid options) and even then that is probably a core lib (SlickGrid) issue not related to Aurelia-Slickgrid. The only thing I could found is this core lib issue where it seems to be where we created this flag which I don't recall but it's possible that it's a flag that needs to be enabled at all time for Aurelia-Slickgrid to work properly.

What behavior are you trying to accomplish? I mean why did you change this flag, what were you expecting?
I don't think this flag should ever be changed and I don't have time to troubleshoot such issue, which like I said earlier, is in the core lib (SlickGrid) not Aurelia-Slickgrid

from aurelia-slickgrid.

Ischca avatar Ischca commented on June 6, 2024

Sorry, my confirmation was insufficient.
I have implemented a behavior that activates the clicked cell and changes the delete flag of the data by the delete button outside the grid.
I used suppressActiveCellChangeOnEdit to find the target to be deleted by the delete button process.

from aurelia-slickgrid.

ghiscoding avatar ghiscoding commented on June 6, 2024

eee what's the point of activating the cell if you delete the row from an external delete button? I don't fully understand your behavior, perhaps an animated gif might help (I use ShareX for that on Windows).

I'm sure there's a better approach to avoid having to change this flag. I don't want to spend hours in troubleshooting this issue (unless you want to do it yourself) and again it's a core lib issue, which would have to be fixed there (not Aurelia-Slickgrid related). I don't fully remember why I created this flag but I think it was meant to never be turned off in Aurelia-Slickgrid but to be off in SlickGrid itself to avoid breaking anyone using the core lib except my lib.

from aurelia-slickgrid.

Ischca avatar Ischca commented on June 6, 2024

Thank you for your kindness.
I created a GIF, but this may not convey the message.
xODNIa8RIb

All I want to do is select a row and delete the selected row, suppressActiveCellChangeOnEdit is deprecated, I'll try another method It is.

from aurelia-slickgrid.

ghiscoding avatar ghiscoding commented on June 6, 2024

Hmm I cannot read this language, Japanese is it?
Why don't you use onClick event to keep an array of the selected rows and just delete them whenever you want? Unless I misunderstood what you want to do. Which row are you trying to delete? I don't see any rows being deleted

from aurelia-slickgrid.

Ischca avatar Ischca commented on June 6, 2024

Sorry, this is in Japanese.
The red button is the delete button and the green button is to confirm the change.
Deleted rows will be grayed out and will remain.
This is because it may be restore it.

What I want to do here is to find the row that for delete when I press the red button.
I don't want to change the current source, so I'll use the ExcelCopyBuffer drag instead.
Thank you for your kindness.

from aurelia-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.