Closed Ischca closed 4 years ago
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
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.
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.
Thank you for your kindness. I created a GIF, but this may not convey the message.
All I want to do is select a row and delete the selected row, suppressActiveCellChangeOnEdit
is deprecated, I'll try another method It is.
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
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.
I'm submitting a Bug report
Your Environment
Context
Focus is lost while inputting filter.
Expected Behavior
Focus is not lost while inputting filter.
Current Behavior
suppressActiveCellChangeOnEdit = false
.Code Sample
Reproduce in example 26. https://ghiscoding.github.io/aurelia-slickgrid/#/slickgrid/example26