Code Monkey home page Code Monkey logo

Comments (4)

nzbin avatar nzbin commented on September 26, 2024 1
columns: MtxGridColumn[] = [
  {
     ....
     disabled: true,
  }
]

from extensions.

SYS64738 avatar SYS64738 commented on September 26, 2024

Thanks! It works fine about hiding/showing column.

It would be great if there's a way to avoid moving column too (I suppose disabled flag could be use for both behavior): in fact an "action" column with button, expandable arrow, etc... should be in a fixed position (at start or end of a row); I already set "pinned = 'left'" but the column could be moved and "overtake" by other columns.

I think the best solution should be: if a column has pin left or right and has disabled flag = true, no other “floating” columns could overtake it and that column couldn’t be moved.

Good:
image

Not so good ;-)
image

Thank you!!!

from extensions.

nzbin avatar nzbin commented on September 26, 2024

I think the best solution should be: if a column has pin left or right and has disabled flag = true, no other “floating” columns could overtake it and that column couldn’t be moved.

It's very hard to implement, I hope someone can provide a PR.

from extensions.

hanogin avatar hanogin commented on September 26, 2024

@nzbin
I have a few column that i do not want to be hide nor moved, i want them show and in the initial order all the time.
How about if a column has a diable flag (or some other name flag) then in that case we do not not showing it at all on the menu, is it hard to implement as well?

from extensions.

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.