GithubHelp home page GithubHelp logo

Comments (14)

iamisti avatar iamisti commented on July 30, 2024 1

I'm glad we could help!

from mddatatable.

iamisti avatar iamisti commented on July 30, 2024

Which version exactly do you mean and which version did you use?

from mddatatable.

OskHa avatar OskHa commented on July 30, 2024
"dependencies": {
    "jquery": "~2.1.4",
    "angular-material": "master",
    "components-font-awesome": "master",
    "angular-messages": "~1.4.8",
    "angular-route": "~1.4.8",
    "angular-loader": "~1.4.0",
    "angular-mocks": "~1.4.8",
    "angular-paging": "~2.1.0",
    "ngmap": "~1.16.7",
    "angular-environment": "~1.0.3",
    "mdDataTable": "~1.2.0",
    "underscore": "~1.8.3",
    "lodash": "~3.10.1",
    "angular-aria": "~1.4.9",
    "angular-animate": "~1.4.9"
  }

from mddatatable.

OskHa avatar OskHa commented on July 30, 2024

also check the last comment.
#62

Cheers and have a great day

from mddatatable.

iamisti avatar iamisti commented on July 30, 2024

Fixed with v1.5.0

from mddatatable.

shriharry avatar shriharry commented on July 30, 2024

Hi Guys,

Nice plugin, But I am having issue in using 'mdt-row' attribute. I followed this [https://github.com/iamisti/mdDataTable#data-row-attributes] to create table. I always get typeError: _.get is not a function. I followed all steps discussed in issues. But not having any luck. Can you check my attachment if there is anything I am missing?

Cheers and thanks in advance.

I am loading files in following sequence.

2

This is error, which m getting.

1

from mddatatable.

OskHa avatar OskHa commented on July 30, 2024

just put lodash before, md-data-tbale in your scripts.

from mddatatable.

shriharry avatar shriharry commented on July 30, 2024

Yes I changed order but It still throws same error.

This is my order now.

3

I just found that there is already latest bug open on this https://github.com/iamisti/mdDataTable/issues/125

from mddatatable.

OskHa avatar OskHa commented on July 30, 2024

Well i would suggest you to use a bild script that creates a vendor.js. Easiest is elixir from laravel, write your own gulp or check the webpack.

Loading scripts the way ur trying isnt the best way.

from mddatatable.

shriharry avatar shriharry commented on July 30, 2024

I am using this angular-1 framework. In our project all dependencies are included in index.html page like this and not in vendor.js. If I would have used angular-2, I could have tried to installed scripts in the way you told using composer build script.

from mddatatable.

iamisti avatar iamisti commented on July 30, 2024

It should work with lodash included. Can you please make sure the webpage really loads lodash? (development tab in chrome -> sources)

from mddatatable.

shriharry avatar shriharry commented on July 30, 2024

sorry for pain guys, but I just noticed that my loadash version is not latest. I included latest version, And it just resolved problem. Thank you so much.

Cheers and these are following sequences of files both of them just worked fine for me

4

and this one too

5

from mddatatable.

shriharry avatar shriharry commented on July 30, 2024

Sorry, to bother you again.

I am unable to apply custom filter on mdt-rows attribute data field. I am applying it in this way.

 <mdt-table mdt-row="{'data': nutritionList  | myfilter:date1:date2,
                      'table-row-id-key': 'id',
                      'column-keys': ['id', 'name']}">

Is it right way to do this?

bcoz using ng-repeate attribute I was doing it in this way and it was working perfectly.

<mdt-row ng-repeat="feed in nutritionList | myfilter:date1:date2">

Will appreciate your help on this. Thanks.

from mddatatable.

iamisti avatar iamisti commented on July 30, 2024

Hi @shriharry , I'd try to do it on the controller level with $filter service if didn't work for some reason.
But then maybe the better solution would be to use mdt-row-paginator and then you can filter and manipulate your data in one of your method in your controller.

from mddatatable.

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.