Giter VIP home page Giter VIP logo

Comments (3)

gjsmith avatar gjsmith commented on July 30, 2024

Easy way to reproduce, edit example 4 and just add:

dataView.deleteItem("id_1");
dataView.deleteItem("id_2");

You'll see that id_2 is still there, but 1 and 3 are deleted.

from slickgrid.

milang avatar milang commented on July 30, 2024

Keep in mind that Slick.model is provided only as an example and is not part of Slickgrid itself (so fixing it is fairly low-priority).

I would recommend switching to functional approach, that was introduced in Slickgrid 1.3+. When using functional approach, you might not have to be manipulating the underlying array any more (or if you do, the array will be internal to the data object). You might want to examine example 14 in commit fed76742436d18b302041d47801917758b378833 that illustrates fairly complex scenario of using functional data provider to implement collapsible grouping.

from slickgrid.

mleibman avatar mleibman commented on July 30, 2024

Fixed in http://github.com/mleibman/SlickGrid/commit/c03f72dc7611b0e2448506e6888c97f66be56a14

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