Changing CSS of text input box when inline editing

Changing CSS of text input box when inline editing

timothy.ctr.searcy@faa.govtimothy.ctr.searcy@faa.gov Posts: 9Questions: 7Answers: 0


Attached are the two pictures of my Datatables grid when the inline editor text input shows up. I have Bootstrap 4 CSS applied in my application. Is there a way I can have full control over the CSS of text input when it shows up for inline editing? Like controlling its length, height and padding?

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    div.DTE_Inline input {
      /* ... */
    }
    

    should give you control over text fields. You might wish to use div.DTE_Inline input[type="text"] as the selector if you have other input elements such as checkboxes.

    Allan

Sign In or Register to comment.