zg-editor-row

The <zg-editor-row> tag is a web component that holds the details of the edit mode for the grid. <zg-editor-row> is created implicitly by the grid and should be placed directly in the user's HTML. The element can inherently be styled through CSS variables or targeting the tag directly.

Image of the DOM relationship for the zg-editor web component tag

Related Web Components

Attributes

There are no attributes variables available for the <zg-editor-row> web component.

CSS Variables

All the associated --zg-editor-row CSS variables. You can find the full list of css variables or check out our styling basics to learn more about styling the grid.

root: {
--zg-editor-row-input-color: red;
}
ZGEditorRow CSS Variables and Default Values
NameDefaultDescriptionDemoCSS Ref
--zg-editor-row-input-background#f5f5f5Styles the background of editor row
--zg-editor-row-input-background_focusvar(--theme-color-light)Styles the background of editor row input on focus
--zg-editor-row-input-border1px solid rgba(82, 168, 236, 0.8)Styles the border of editor row
--zg-editor-row-input-border-bottomvar(--zg-editor-row-input-border, 1px solid rgba(82, 168, 236, 0.8))Styles the bottom border of editor row
--zg-editor-row-input-border-leftvar(--zg-editor-row-input-border, 0)Styles the left border of editor row
--zg-editor-row-input-border-rightvar(--zg-editor-row-input-border, 0)Styles the right border of editor row
--zg-editor-row-input-border-topvar(--zg-editor-row-input-border, 0)Styles the top border of editor row
--zg-editor-row-input-box-shadow_focusinset 0 0 5px #cccApplies a box shadow behind editor row input on focus
--zg-editor-row-input-colorvar(--zg-editor-row-input-color, #fff)Sets the font color of editor row
--zg-editor-row-input-padding12px 15pxSets the padding of editor row

CSS Selector

<zg-editor-row> can be styled by common CSS selectors.

zg-editor-row {
  border: 1px solid red;
}