ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 6 replies, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 6 months, 1 week ago.

  • Creator
    Topic
  • #34143

    shumdok
    Participant

    Hi,
    I have a column in datagrid with boolean type and editable: true option. How I can hide the checkbox if the value is true? I tried to use twig template, but after that, I need to double click on the checkbox to make it check.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #34214
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

    As workaround you can add the following code to boolean-cell.js:

    #34235

    shumdok
    Participant

    Thank you.
    It works!

    #34269

    shumdok
    Participant

    Sorry, I was wrong.
    When I click on a row or column, the checkbox appears again.

    #34312
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Try to set analogical IF condition at the start of onRowClicked function.

    #34393

    shumdok
    Participant

    The problem still exists.

    #34450
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Here is my datagrid without checkboxes on Enable column:

    Did you run these commands after code modification?

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.