Apply style to input field for EditCellAt in a WebListbox

Hello,

does someone have a trick (without doing the whole edit cell myself) to style the input field in an editable WebListbox?

my tries with CSS and a rule “table td input” failed so far.

For the developers who know how to debug this, here’s the DOM for a WebListbox’s spawned edit cell:

Clicking the developer tools window causes the framework to close the cell, so I struggled to capture the raw text :sweat_smile:

1 Like

Update:

This selector works, but be aware of its scope.

.XojoListBox input[type="text"],
.XojoListBox textarea {
  color: #ff00ff;
  font-weight: bold;
}
3 Likes