You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/apps/4_app_configuration_settings/database_studio.mdx
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ import DocCard from '@site/src/components/DocCard';
2
2
3
3
# Database Studio
4
4
5
-
This component allows you to create a database studio. The database studio is a web-based database management tool. It allows you to display and edit the content of a database. It uses Ag Grid to display the table.
5
+
This component allows you to create a database studio. The database studio is a web-based database management tool. It allows you to display and edit the content of a database. It uses [Ag Grid](./aggrid_table.mdx) to display the table.
6
6
7
7
<iframe
8
8
style={{ aspectRatio: '16/9' }}
@@ -14,6 +14,10 @@ This component allows you to create a database studio. The database studio is a
The AgGrid Table component (called AgGrid from here) is a small wrapper around a
11
+
The [AgGrid Table component](../../../apps/4_app_configuration_settings/aggrid_table.mdx) (called AgGrid from here) is a small wrapper around a
12
12
fantastic library called [AgGrid](https://www.ag-grid.com/). It provides you with
13
13
a lot of advanced features. It comes in a free and a Enterprise (paid) version.
14
14
All features below are part of the free version of AgGrid.
@@ -18,18 +18,17 @@ If you need the enterprise version of AgGrid, please
18
18
[contact us](../../6_getting_help/index.mdx).
19
19
:::
20
20
21
-
## AgGrid vs Table component
21
+
## AgGrid vs Table component vs Database Studio
22
22
23
-
In Windmill there are 2 table components: one simply called
24
-
[Table](../table/index.md)
25
-
and AgGrid.
23
+
In Windmill there are 3 table components: one simply called [Table](../../../apps/4_app_configuration_settings/table.mdx),
24
+
[AgGrid](../aggrid_table/index.md) and [Database Studio](../../../apps/4_app_configuration_settings/database_studio.mdx).
26
25
27
-
The Table component is for most usecases. It takes an array of objects as d
26
+
The [Table component](../../../apps/4_app_configuration_settings/table.mdx) is for most usecases. It takes an array of objects as d
28
27
input, and uses the key of the object as the header of the table. It also
29
28
provides you with one or more action buttons to trigger an action for the row or
30
29
create a dropdown button based on the row data.
31
30
32
-
But if you want the user to be able to sort the table, edit a value inplace, adjust width and more you want to reach for AgGrid.
31
+
[Database Studio](../../../apps/4_app_configuration_settings/database_studio.mdx) is a web-based database management tool. It allows you to display and edit the content of a database.
33
32
34
33
:::info Transformer
35
34
If you want to do basic sorting, or edit the column header name from the script
@@ -72,7 +71,7 @@ for the complete list of properties.
72
71
As with most things, Windmill lets you **dropdown to code** when you want to do
73
72
more advanced stuff, where the gui is more in the way then helping.
74
73
75
-
The Windmill way wil be to first create a background runnable and then
74
+
The Windmill way will be to first create a background runnable and then
@@ -84,61 +83,36 @@ Below is a series of snippets that will help you get started.
84
83
85
84
#### Provide default values for all columns
86
85
87
-
Create a background runnable in Deno with the following content:
86
+
Create a [background runnable](../../../apps/3_app-runnable-panel.mdx#background-runnables) that is a [Frontend JavaScript](../../../apps/3_app-runnable-panel.mdx#frontend-scripts) with the following content:
In Windmill there are 2 table components: one simply called Table and
10
-
[AgGrid](../aggrid_table/index.md).
9
+
In Windmill there are 3 table components: one simply called Table,
10
+
[AgGrid](../aggrid_table/index.md) and [Database Studio](../../../apps/4_app_configuration_settings/database_studio.mdx).
11
11
12
12
The Table component is for most usecases. In it's simplest form it takes an
13
13
array of objects as input, and uses the key of the object as the header of the
14
14
table.
15
15
16
-
See bottom of documents for the current Limitations.
16
+
See bottom of this document for the current Limitations.
17
+
18
+
[AgGrid](../aggrid_table/index.md) component provides you with a lot of advanced features.
19
+
20
+
[Database Studio](../../../apps/4_app_configuration_settings/database_studio.mdx) is a web-based database management tool. It allows you to display and edit the content of a database.
0 commit comments