Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Disable editing single cell in list grid

    Hi

    is it possible to disable editing single cell in listgrid? not one column nor one row, just one cell.

    And the second case is to hide checkbox in single cell, is it possible? i mean something similar to CellFormatter.

    Thanks

    #2
    Originally posted by franki
    Hi

    is it possible to disable editing single cell in listgrid? not one column nor one row, just one cell.
    You can override canEditCell to do that.

    Originally posted by franki
    And the second case is to hide checkbox in single cell, is it possible? i mean something similar to CellFormatter.
    That's what I'm trying to do as well. Even just to disable it would work too.
    I figured out an ugly hack though. I overrode getCellCSSText and return "visibility: hidden;" for the cells that need to be hidden. It's visually not so great, but it works.

    Comment

    Working...
    X