Comments (14)
I'm glad we could help!
from mddatatable.
Which version exactly do you mean and which version did you use?
from mddatatable.
"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.
also check the last comment.
#62
Cheers and have a great day
from mddatatable.
Fixed with v1.5.0
from mddatatable.
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.
from mddatatable.
just put lodash before, md-data-tbale in your scripts.
from mddatatable.
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
from mddatatable.
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.
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.
It should work with lodash included. Can you please make sure the webpage really loads lodash? (development tab in chrome -> sources)
from mddatatable.
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
and this one too
from mddatatable.
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.
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)
- How to add custom icon/button in table card?
- Table becomes so slow when using http.get to get the data in a json file HOT 1
- Virtual Repeat is not working in ajax case
- Dependency required to added manually ( angular-sanitize, lodash) HOT 2
- template files 404s HOT 1
- Clicking on headers works even if pointer is not near header text.
- Error loading data,How can i debug the error?
- rowId didn't change when i delete some row from my data
- Need to add a PLUS icon on table card for adding a row in mdt-table. HOT 1
- how to add more options in selectablerowcallback
- Headers not appearing in data table. HOT 3
- Truncate md-cell for long text values without increasing row height
- column filters not filtering anything. HOT 1
- In Paginator Callback function, offset changed to NaN and won't load table.
- Access Json Object of selected columns - columnSelector
- XSS vulnerability
- Md-checkbox disappears when clicked
- combining the table card with the table header?
- Merging cells in adjacent columns
- Example of a suitable comparator?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mddatatable.