0.3.5 • Published 8 months ago

zenux-grid v0.3.5

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

zenux-grid

Yet another data grid react component.

Early stage. See src/demo.tsx for basic usage.

See also docs/changelog.txt.

Table width control

Setting width:100% do not prevent tables from expanding beyond their parent container.

Here are 2 solutions, both have limitations.

Try to figure out the width of div.table and specify in CSS:

.zenux-grid div.table {
    table-layout: fixed;
    width: calc(100vw - 240px);
}

Using table-layout:fixed may solve the problem in some cases:

.zenux-grid table {
    table-layout: fixed;
    width: 100%;
}

But this will require you to specify column widths manually.

0.3.5

8 months ago

0.3.4

8 months ago

0.3.3

10 months ago

0.3.2

10 months ago

0.3.1

10 months ago

0.3.0

10 months ago

0.2.2

10 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.9

11 months ago

0.1.8

12 months ago

0.1.7

12 months ago

0.1.6

12 months ago

0.1.5

12 months ago

0.1.4

12 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago