GithubHelp home page GithubHelp logo

Comments (3)

ghiscoding avatar ghiscoding commented on May 21, 2024

Maybe the Migration Guide is not clear enough but if you look at the Example code, you will see that the best way to get the grid and/or the dataView object is through the new AngularGridInstance. I tried to expose most of everything in that new instance.

I updated the Migration Guide

Like this way:

angularGridReady(angularGrid: AngularGridInstance) {
    this.angularGrid = angularGrid;
    this.gridObj = angularGrid.slickGrid;
    this.dataViewObj = angularGrid.dataView;

    // and any other Services you wish to use
    this.gridService = angularGrid.gridService;
}

Please don't use any _grid, they are meant to be for internal usage only.

from angular-slickgrid.

ghiscoding avatar ghiscoding commented on May 21, 2024

BTW I'm not sure what you are trying to do with the code, but aren't you looking for a Grid State & Presets functionality? The Wiki - Grid State & Presets was updated after the new 1.x version. Also the Grid State now also deal with the columns, that is new in version 1.x. So you might want to take another look at the wiki.

It's also a lot of work for 1 person (me), so if you feel that the examples, wikis are lacking then feel free to mention which wiki should be updated. Our team decided to make it open source, in the hope of bringing feedback and improvement, I think it's going good so far.

from angular-slickgrid.

ctung avatar ctung commented on May 21, 2024

Ok, Thanks again!

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.