@stenajs-webui/grid-export
Advanced tools
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.
Changelog
12.0.0
renderCell
receives options argument.renderCell
function now receives isSelected
flag. True if checkbox is checked.left
was improperly set when
stickyCheckboxColumn
was true but showRowCheckbox
was false.error
property, which displays an error triangle to the right of the label.contentRight
in column group could not be interacted with.DRAGGABLE_HANDLE_CLASSNAME
to any element in the modal header.renderCell
has changed its arguments.
It now receives an options object as argument instead of multiple arguments.
Change from:
// Old
renderCell: (label, item) => (
// New
renderCell: ({ label, item }) => (
Changelog
11.3.1
rightIcon
has no margin if it is the first childChangelog
11.3.0
ActionMenuItemContent
has new prop bottom
to show content below.
fullWidthBottomContent
which removes the left space reserved for icons and loading states.