-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEMO > search, search is not working #63
Comments
Which version exactly do you mean and which version did you use? |
|
also check the last comment. Cheers and have a great day |
Fixed with v1.5.0 |
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. This is error, which m getting. |
just put lodash before, md-data-tbale in your scripts. |
Yes I changed order but It still throws same error. This is my order now. I just found that there is already latest bug open on this https://github.com/iamisti/mdDataTable/issues/125 |
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. |
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. |
It should work with lodash included. Can you please make sure the webpage really loads lodash? (development tab in chrome -> sources) |
I'm glad we could help! |
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.
Is it right way to do this? bcoz using ng-repeate attribute I was doing it in this way and it was working perfectly.
Will appreciate your help on this. Thanks. |
Hi @shriharry , I'd try to do it on the controller level with |
just copied everything from the demo and the search is not working.
had to change from
{{(filteredItems = (nutritionList | filter: filterName))}}
to
{{filteredItems = (nutritionList | filter: filterName)}}
(bracket around filteredItems)
The text was updated successfully, but these errors were encountered: