1.3.0 • Published 3 months ago

@datagrok/power-grid v1.3.0

Weekly downloads
-
License
-
Repository
github
Last release
3 months ago

PowerGrid

PowerGrid contains popular spreadsheet extensions, such as sparklines and support for images.

Sparklines

Sparklines are very small charts, typically without axes or coordinates. The main goal of a sparkline is to provide a graphical representation of data row that to get an impression of the object as a whole, and to instantly compare objects with each other. To form a representation, any quantitative features of objects can be used, which are displayed as the position or size of a graphical element. Datagrok has a few ready-to-use sparkline chart types: sparklines, bar chart, pie chart and radar chart.

To add a sparkline column, open Add | Summary Columns | ... from the grid's popup menu.

To customize a sparkline column, click on its header and expand the Renderer pane in the context panel.

Sparklines and settings

Images

Datagrok supports two types of images in cells: embedded and linked.

Embedded images

To programmatically add an image column to the dataframe, use the following code: dataFrame.columns.addNewBytes('my image').

To add an image, double-click on the cell and choose the file. Supported extensions are .jpg, .png, and .jpeg.

adding image

Linked images

Datagrok automatically detects and visualizes images saved as URLs (those starting with "http://" or "https://", and ending with one of the supported image extensions). In case the image did not get automatically detected, click on the column, press F2 to open the column properties, and set the following:

  • quality to ImageUrl
  • cell.renderer to ImageUrl.

The images might not occur instantaneously. If this happens, clone the layout (Layout | Clone). We are working to get that fixed.

image-url-detection

Forms viewer

Forms viewer shows rows in forms positioned side-by-side. It is useful for quick exploration of the selection, as well as for comparison between current, mouse-over, and selected rows.

To change which fields are shown, use the Fields property in the options. Drag-and-drop columns to reorder. Choose which rows to show by setting the following properties: Show Current Row, Show Mouse Over Row, and Show Selected Rows. Green color stripe on top of the form indicates current row, grey one indicates mouse-over row.

The viewer also works together with the grid:

  • To select or deselect rows, Ctrl+click the form.
  • To go to a particular cell in a grid, click on a field
  • To make a column current, click on the column name.

Forms viewer

See also:

1.3.0

3 months ago

1.2.6

5 months ago

1.2.5

5 months ago

1.2.4

5 months ago

1.2.0

6 months ago

1.1.29

9 months ago

1.1.28

10 months ago

1.2.3

6 months ago

1.2.2

6 months ago

1.2.1

6 months ago

1.1.30

9 months ago

1.1.33

9 months ago

1.1.32

9 months ago

1.1.31

9 months ago

1.1.27

10 months ago

1.1.26

10 months ago

1.1.25

10 months ago

1.1.24

11 months ago

1.1.23

12 months ago

1.1.19

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

2 years ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.4

2 years ago