GithubHelp home page GithubHelp logo

Comments (9)

esvit avatar esvit commented on June 30, 2024

I do vaguely understand what the problem is? What is not satisfied with this approach? http://esvit.github.io/ng-table/ #! / demo10

from ng-table.

graphicsxp avatar graphicsxp commented on June 30, 2024

I had not seen this demo with the checkbox ! Ok, that seems like a reasonnable solution, I just need to twick the CSS so that the 'select all' checkbox is aligned with the ones below.
Thanks !

from ng-table.

graphicsxp avatar graphicsxp commented on June 30, 2024

Ok, I've looked into the filter tutorial. It does what I want... but it does not look good. The checkbox should ideally be at the same place as the headers, instead of being on the first row.
Don't you think it would look better ?

filter

from ng-table.

graphicsxp avatar graphicsxp commented on June 30, 2024

You misunderstood me or I did not make myself clear. The problem as described in my screenshot, is that it would be a lot nicer if the filter checkbox was in the headers, at the same level as 'Nom' in my example. Does it make sense ?

from ng-table.

esvit avatar esvit commented on June 30, 2024

ok, I understand, I think about the best way to do it

from ng-table.

graphicsxp avatar graphicsxp commented on June 30, 2024

I've got the latest version and now I can put the filter in the header, so thanks for that. However, the latest version has broken my application because now none of the column titles are showing. They are all gone, on every tables, including those that don't use the new header feature. Also, I've noticed in your demo that you have used single-quotes for every attributes:

ex:

Do I need to use single-quotes too ? It wasn't required before.

from ng-table.

graphicsxp avatar graphicsxp commented on June 30, 2024

Ok, I've identified the bug. If I don't specify header attribute in a TD element, then the column title does not show at all. The header attribute should not be mandatory.

from ng-table.

graphicsxp avatar graphicsxp commented on June 30, 2024

and also data- is now mandatory, that should not be the case :(

from ng-table.

graphicsxp avatar graphicsxp commented on June 30, 2024

Actually data- might not be such a bad idea after all :) Now I don't have to do the ugly title=" " to have blank title, which is great. Keep it as it is.

Everything seems fine now, the problem was just the data- and the single quotes when using spaces in the title attribute.

Thanks a lot.

from ng-table.

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.