docs(changeset): Extra api options, local data options

This commit is contained in:
Hein
2025-10-23 15:49:14 +02:00
parent 9506d123f3
commit b49fadae83
12 changed files with 369 additions and 107 deletions

View File

@@ -93,6 +93,7 @@ export interface GridlerProps extends PropsWithChildren {
bottom?: React.ReactNode;
left?: React.ReactNode;
right?: React.ReactNode;
rightElementDisabled?: boolean;
rightElementEnd?: React.ReactNode;
rightElementStart?: React.ReactNode;
top?: React.ReactNode;
@@ -100,6 +101,7 @@ export interface GridlerProps extends PropsWithChildren {
selectedRow?: number;
selectMode?: 'cell' | 'row';
showMenu?: (id: string, options?: Partial<MantineBetterMenuInstance>) => void;
title?: string;
tooltipBarProps?: React.HTMLAttributes<HTMLDivElement>;
total_rows?: number;
uniqueid: string;
@@ -426,13 +428,10 @@ const { Provider, useStore: useGridlerStore } = createSyncStore<GridlerStoreStat
const items =
area === 'menu'
? [
{
label: `Side menu`,
},
]
? [{ leftSection: <IconGrid4x4 size={16} />, title: s.title ?? 'Grid' }]
: coldef
? [
{ leftSection: <IconGrid4x4 size={16} />, title: s.title ?? 'Grid' },
{
items: [
{