This commit is contained in:
Shubhendra 2023-07-24 15:24:01 +05:30
parent 64f75e2b15
commit 17c2fc2d2e
3 changed files with 27 additions and 4 deletions

View file

@ -46,12 +46,20 @@ Debugger records any errors that occur during the execution of queries. For inst
If you wish to prevent the debugger from closing, you can simply click on the pin icon located in the top-right corner. By doing so, the debugger will stay open until you decide to unpin it.
Debugger consists of two main sections:
1. **All Log:** In this section, you can view a comprehensive list of all the logs generated during the execution of the application. These logs may include various types of messages, such as success messages, warning, and error messages.
2. **Errors:** This section specifically focuses on displaying the error messages that occurred during the program's execution. These error messages indicate issues or problems that need attention, as they may lead to unexpected behaviors of the application.
<div style={{textAlign: 'center'}}>
<img className="screenshot-full" src="/img/v2-beta/app-builder/leftsidebar/debuggertop.png" alt="App Builder: Left-sidebar"/>
<img className="screenshot-full" src="/img/v2-beta/app-builder/leftsidebar/newdebugger.gif" alt="App Builder: Left-sidebar"/>
</div>
## Theme switch
## Theme Switch
Switch ToolJet into light or dark mode from this button.
Use the theme switch button to toggle ToolJet between light and dark modes.
While developers can access the current theme's value through global variables using `{{globals.theme.name}}`, it is not currently feasible to change the theme programmatically.

View file

@ -547,7 +547,9 @@ It's enabled by default. Table footer will show two update buttons **Save change
### Allow selection
This option is active by default. **Enabling** this functionality allows users to choose a row in the table by utilizing `checkboxes` placed next to each row. If this option is **disabled**, the ability to highlight selected rows and perform bulk selection will not be accessible.
This option is active by default. **Enabling** this functionality allows users to choose a row in the table by utilizing `checkboxes` placed next to each row. If this option is **disabled**, the ability to highlight selected rows and perform bulk selection will not be accessible.
If the option for allowing selection is enabled, a new option called **[Default selected row](#default-selected-row)** will become visible. However, if the option for allowing selection is disabled, the **[Default selected row](#default-selected-row)** option will not be displayed.
### Highlight selected row
@ -557,6 +559,19 @@ Activate this option to visually emphasize the last clicked row. **Enabling** th
To enable the selection of one or more rows from the current page of a table, you can activate the 'Bulk selection' setting in the inspector. The values of the selected rows will be exposed as '**selectedRows**'.
### Default Selected Row
By enabling this option, you can designate a default row to be pre-selected when the app loads. This means that whenever the app is opened for the first time, a specific row will already be highlighted in the table by default. Additionally, there is an accessible variable that stores the value for this setting. You can find a list of all accessible variables **[here](#exposed-variables)**.
To set a default selected row, you need to provide an object with a single key-value pair. For instance, you can use the `id` key and dynamically obtain the value from a variable, let's say `x`, to specify the default selected row in the table. We assume that the variable `x` holds a valid numerical id.
Example:
```js
{{{"id": variables.x}}} //assuming variables.x is already set
```
Please ensure that the value provided in the object corresponds to a valid id in the table to ensure proper functionality.
### Disable sorting
Enable this option to lock the sorting of columns when clicked on column name.

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB