Input Table cell color for specific cell

  • Craig_Watkins
    Asked on July 17, 2018 at 10:26 AM

    I'd like to "gray out" a specific cell in an input table (so people are less prone to making an entry in that particular cell).

     

    As best I can tell, the ID for the cell is:  input_32_5_0

     

    I've tried my best to achieve this, but am hitting a wall.  Also, might it be possible to make the cell "read only" so there is no way at all they can enter anything, regardless of whether I make it "gray"?  I've included the link to the form.  The cell I am referring to is Double Check/XV orders

  • Craig_Watkins
    Replied on July 17, 2018 at 10:30 AM

    And 2 seconds later, I was able to change the color for that specific cell.  Any idea on how to make it "read only"?

  • Kiran Support Team Lead
    Replied on July 17, 2018 at 11:58 AM

    Unfortunately, it is not possible to set a single field in the Input table field as read only. However, you may consider injecting the following CSS code to make the field inaccessible by clicking through mouse.

    #input_32_5_0 {

        pointer-events: none;

    }

    Please note that since the mouse events are disabled for that field, it is not possible to click and enter the information. However, it is possible to enter the information if tab key is used from the keyboard.

    Thanks!