Giter Club home page Giter Club logo

angular-data-table's People

Contributors

adlaird avatar agenestar avatar amcdnl avatar benbrostoff avatar bensgroi avatar btmarkyou avatar gitter-badger avatar jdehaan avatar jnelson avatar jonshaffer avatar jsheely avatar kharitonoff avatar kuzman avatar marjan-georgiev avatar marti4ka avatar miparnisari avatar mrumberto avatar nathansmyth avatar properjon avatar thrilleratplay avatar toast254 avatar tristanpendergrass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

angular-data-table's Issues

Install protractor

Setup gulp task, devDependencies, any items related to getting protractor working within project

grouping does not remove dynamically

previously dynamically changing grouping was fixed, however, you cant remove the groups. would need a button added to remove groups in grouping demo(s)

HTML Linting/Hinting

Demo's, templates have no linting associated - would be helpful for development.

Collapsible sub-table

Add feature allowing a sub-table per rows

Specifications:

Waiting on collaboration, likely not needed or can be solved in another way

Data, options pre-loading demo

There currently exists no demo for a table loaded with previously created options, data.

Should also have protractor tests created to verify functionality.

Write unit tests, enhance configs, unit test helpers

The codebase currently sits at under 14% code coverage, while 95% + would be ideal.

The configurations currently allow very vague source maps that could use enhancing.

Unit tests could benefit from helpers to cut down the amount of boilerplate required for specs.

Need option to enable shift+click multi-column sorting

initial proposed structure of this option:

sorting: {
  type: 'multiple' || 'single' (default: 'multiple'),
  modifierActive: true || false (default: true)
}

multiple + true means shift+click will clear sorting and only sort by current column being clicked
single + true means shift+click will keep existing sort and add on current column being clicked

Switch building to Webpack

Notion: Development and production builds should be done in webpack instead of systemjs, gulp, and rollup.

This allows the development side of this repository to be much more manageable.

when scrolling quickly left over virtual rows are visible at the end of list

I haven't looked into the code yet, but I assume the virtual repeat is rendering a bit more rows than can be visible at once. Usually, this is done to avoid flickering and make the v-scroll experience more fluid; I haven't verified if this is the case, though. It appears, however, that when scrolling quickly and reaching the bottom of the scroll container, these padding rows are still present and blank.

How to programmatically change the page.

Have a tree grid that has a single page. Update dataset to have multiple pages. Scroll to other pages. Change dataset back to a dataset that only has 1 page. The grid is stuck in a blank state where it can't render rows because it is on page 2 when only 1 exists.

The variables options.paging.offset does not propagate downward into the data-table controllers at all. Furthermore, pretty much nothing propagates down correctly due to all these custom watchers. The entire component set does not use any angular data propagation at all instead relying on custom watchers.

How do I programmatically change the page? I have created a fork of this component and added custom events to the pager.controller, body.controller, datatable.controller. Nothing works.

GH Pages demo code managed per CodePen

Right now gh-pages branch is not updated as often, or as pervasive with demos, as the demo/ folder in master. It would be nice to couple them, potentially with gulp release to build to a docs folder.

Idea: Utilize CodePen post's, APIs to manage demo code within git

Horizontal scrolling with multiple tables scrolls headers on all tables

As stated, if there are multiple tables on one page, horizontally scrolling any one table will scroll the headers on all visible tables.

To test, open demos/perf.html. Resize the columns on the first table such that one of the column overflows to the right. This enables the horizontal scroll bar. Using this to scroll, you can scroll across the headers on all tables.

Step 1: Normal table with resized columns. The second table does not resize as expected.
1

Step 2: Scrolling the horizontal scroll, also scrolls the second table.
2

Angular 1.6

I don't think this works with Angular 1.6

I get over 51 errors now... 'Cannot set property 'scrollBarWidth' of undefined'
...
'Cannot read property columns of undefined'
...

The only thing I did was upgrade from Angular 1.4 to Angular 1.6
[Also checked for an updated version of this data-table]

Thanks!

Row Classes Update Late

When scrolling quickly through the table the row classes are not being updated correctly onto the DOM; i.e., there will be two consecutive 'dt-row-odd's. This is not a big issue unless one overrides the background color styles for alternating row colors- then it becomes blatantly apparent. Looking more closely it appears to be related to rows that are only partially visible. It never happens to a block of rows in the center.

I'll look into this a bit later. I see a few different possibilities that could be the issues.

Speaking on another note; I work for a small team that will probably be using this component and there are a few outstanding issues that we (I) would like to fix- I forked the repo and will push some pull requests against it at some point.

Option for single sort not documented or in demo

By default, multiple column sorting is turned on, so if one column is sorted, clicking on another column header adds a secondary sort to the table. It exists in options.sortType but that isn't documented anywhere.

comparator function does not work.

I was briefly trying to use the comparator function on the column configuration objects. I noticed that sorting was not working correctly for columns that were non_numeric and attaching my comparison (comparator) function had no effect. Looking into the code where the comparator is referenced I was unable to find any explicit use of the function (it's only used for a flag). There appear to be two bugs here (or I am using this incorrectly- if so please correct me)

1: comparator field on column definition object does not get triggered when present
2: sorting text columns does not cause any resorting to occur.

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.