@stenajs-webui/grid-export
Advanced tools
Changelog
13.1.1
value-by-id-reducer
string
id.:focus
with :focus-visible
, this makes the focus state visible only if the menu was opened with keyboard interaction.Changelog
13.1.0
New option none
for option allowedInputType
.
This disables the ability to automatically open the editor when the user starts typing in an editable table cell.
This is usable when the editor is not a text input field.
Collapsible
.Changelog
13.0.7
Changelog
13.0.6
GroupedChipMultiSelect
ChipMultiSelect
and GroupedMultiSelect
ModalHeader
is once again draggable by default.ModalHeader
are not draggable.headerText
in ModalHeader
is not draggable.DRAGGABLE_CANCEL_CLASSNAME
can be used to make part of ModalHeader
not draggable.
Remember to use this for text that should be selectable in all browsers (e.g. Firefox).closeButtonClassName
for ModalHeader
lets you set a classname for the close button.Changelog
13.0.5
Changelog
13.0.4
Changelog
13.0.3
backgroundResolver
returned undefined for a sticky column, it became see-through.Changelog
13.0.2
StandardTableCellUi
more backward compatible.Changelog
13.0.1
Changelog
13.0.0
ModalHeader
is no longer draggable by default if used outside of Modal
.onClick
eventsuseOnScreen
This hook can be used to determine if a DOM element is visible on screen.
It returns a boolean, true if the element is visible in viewport.
It uses the Intersection Observer API.
Example:
const ref = useRef(null);
const visible = useOnScreen(ref, {
rootMargin: "400px",
threshold: 0,
});
return <div ref={ref}>...</div>
StandardTable
now uses <table>
internally.stickyColumnGroups
when using column groups. Can be first
, last
or both
.stickyColumnGroups
, all columns in that group must have fixed width.flex
no longer supported. Use width
and %
instead.StandardTable
column config no longer supports flex
.This is because StandardTable
uses <table>
internally, which
doesn't support flex.
Use width
with %
instead.