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: knowledge-base/grid-csv-export-change-field-delimiter.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,7 @@ To change the field delimiter, do the following:
48
48
49
49
1. Pass that `MemoryStream` to the `args.Stream` of the `GridAfterCsvExportEventArgs`, so that the modifications can be saved to the actual exported file.
50
50
51
+
<divclass="skip-repl"></div>
51
52
````RAZOR
52
53
@*Customize the field delimiter of the exported CSV file*@
Copy file name to clipboardExpand all lines: knowledge-base/grid-static-group.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,7 @@ Examples of both follow below, see the code comments for details.
143
143
144
144
The key thing is to set `Visible=false`, the other settings are to ensure it cannot be shown, resized, edited, moved or otherwise interacted with. Hiding it from the column chooser will also prevent the user from showing it on their own, the other settings are to showcase you can disable them, and to limit the options in case your other state modifications require that you show it at some point. You can tweak this as necessary.
Copy file name to clipboardExpand all lines: knowledge-base/inputs-open-programmatically.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,11 @@ Review the `attachFocusHandler` JavaScript function below. It is called in `OnAf
56
56
57
57
Note that the Date/Time Pickers move focus to their popup once it is opened. This enables keyboard navigation in the popup, but prevents immediate move to another component via tabbing. You need to hit Enter to close the popup and return focus to the DateInput textbox. Then tab.
58
58
59
+
> Replace the `OnFocusKB` type of the `DotNetObjectReference` in the example below with the type of the component that hosts this code.
60
+
59
61
>caption Focus Component and Open Dropdown Programmatically
60
62
63
+
<divclass="skip-repl"></div>
61
64
````RAZOR
62
65
@inject IJSRuntime js
63
66
@* Open dropdown on click or focus *@
@@ -152,6 +155,7 @@ TimePicker:
152
155
Width="300px" />
153
156
154
157
@code {
158
+
//Replace the OnFocusKB type with the type of the component that hosts this code
[UI for Blazor versions 2.25 - 2.30 have different HTML rendering for the input components]({%slug changes-in-3-0-0%}). Use this `attachFocusHandler` code instead:
Copy file name to clipboardExpand all lines: knowledge-base/treelist-enable-checkbox-selection-only-edit-mode.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -343,6 +343,7 @@ Below is an example implementation that toggles the visibility of the Checkbox C
343
343
344
344
Alternatively, if you prefer not to toggle the `CheckboxColumn` visibility but just disable it, you can apply conditional custom CSS based on the flag that you set in the `OnEdit`/`OnAdd` handlers.
>caption Referencing the resulting JS file in the index file
45
46
47
+
<divclass="skip-repl"></div>
46
48
````RAZOR
47
49
. . .
48
50
<script src="js/MyScript.js"></script>
@@ -54,6 +56,7 @@ export function test() {
54
56
55
57
>caption Resulting output in the JS file (generated through the `Microsoft.TypeScript.MSBuild` package Visual Studio offers to install for you to build TS, other compilers often have similar default output)
0 commit comments