Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uxf/data-grid

Package Overview
Dependencies
Maintainers
1
Versions
308
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uxf/data-grid

UXF DataGrid

  • 11.11.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
612
decreased by-9.2%
Maintainers
1
Weekly downloads
 
Created
Source

DataGrid

Installation / Upgrade

yarn add @uxf/core @uxf/ui @uxf/data-grid

// or

yarn upgrade @uxf/core@latest @uxf/ui@latest @uxf/data-grid@latest

CSS dependencies

@import url("tailwindcss/components.css");
@import url("@uxf/data-grid/styles.css");
@import url("@uxf/ui/button/button.css");
@import url("@uxf/ui/dropdown/dropdown.css");
@import url("@uxf/ui/form-component/form-component.css");
@import url("@uxf/ui/icon/icon.css");
@import url("@uxf/ui/input/input.css");
@import url("@uxf/ui/input/input-basic.css");
@import url("@uxf/ui/label/label.css");
@import url("@uxf/ui/pagination/pagination.css");
@import url("@uxf/ui/_select-base/select-base.css");

State and actions of data-grid

import { useDataGridControl } from "@uxf/data-grid/use-data-grid-control";

const { state, actions } = useDataGridControl({
    schema ,
    initialState: "Request or string (base64 encoded request)",
    userConfig: {
        columns: {
            id: { isHidden: true },
        }
    },
    isDebug: true,
});

Examples

DataGrid

import { useDataGridControl } from "@uxf/data-grid/use-data-grid-control";
import { useDataGridFetching } from "@uxf/data-grid/use-data-grid-fetching";

function BasicExample() {
    const { state, actions } = useDataGridControl({ schema });
    const { isLoading, error, data, onReload } = useDataGridFetching(loader, schema, "grid-name", state);

    return (
        <DataGrid
            onReload={onReload}
            state={state}
            actions={actions}
            data={data}
            isLoading={isLoading}
            error={error}
            schema={schema}
        />
    );
}

Keywords

FAQs

Package last updated on 27 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc