Code Monkey home page Code Monkey logo

Comments (4)

claar avatar claar commented on May 24, 2024

Add data-visible="false" to the <th>'s you want to initially hide. See Column Settings -> visible in the docs.

from jquery-bootgrid.

rstaib avatar rstaib commented on May 24, 2024

@claar Thanks for anwsering the questing.

from jquery-bootgrid.

kthangabalu avatar kthangabalu commented on May 24, 2024

hi can somebody tell be how to data-visible="true" dynamically using javascript

from jquery-bootgrid.

hjmf1954 avatar hjmf1954 commented on May 24, 2024

I have exact the same question as Ktangabalu. In a responsive design environment it may be useful to hide more columns in a mobile portrait environment than in a desktop landscape. Since the only correct way to find that out is in the client, JavaScript is the only method to do that.
So the hide/unhide column feature is a nice-to-have option.
In pure JavaScript the hiding of the column(s) is an alternative by adding the id or adding a extra class to both the and the in the grid.
Or is an extra reload of the grid a better solution with the additions of the screen-settings?
Or are there better alternatives??

Do I need to create a new issue for this question?

from jquery-bootgrid.

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.