Telerik Forums
UI for Blazor Forum
19 answers
2.0K+ views

Hi Marin and happy new year!

I don't know if you can advise, but we've noticed that when selecting multiple rows of the grid (not using the checkbox), the selection seems to be noticeably slow. There seems to be quite a delay when clicking one or more rows (using shift in the latter case) and the highlight colour changing to show the selection.

Our grid is quite complex as we use RowTemplate and a manual datasource, but I notice that there is a similar albeit less pronounced delay in your demo. Any idea what might be causing this?

Kind Regards,
Nick.

<TelerikGrid Data=@Items TItem="Item" Sortable="true" Height="100%" Pageable=true OnRead="@ReadItems"
             PageSize=50 TotalCount=@Total class="viewgrid"
             SelectionMode=Telerik.Blazor.GridSelectionMode.Multiple
             @bind-SelectedItems="@SelectedItems">
    <RowTemplate Context="item">
        @foreach (var viewColumn in ViewDefinition.Columns)
        {
            <ViewGridColumn ViewColumn="@viewColumn" Item="@item" OnDoubleClick="@RowClicked" />
        }
 
    </RowTemplate>
    <GridColumns>
        @foreach (var viewColumn in ViewDefinition.Columns)
        {
            <GridColumn Title="@viewColumn.Label" Field="@viewColumn.FieldName" Width="@(viewColumn.Width + "px")"></GridColumn>
        }
    </GridColumns>
</TelerikGrid>


Hao
Top achievements
Rank 1
Iron
 answered on 24 Oct 2022
0 answers
133 views

I have a filterable virtualized ComboBox, using OnRead to load data.
Pressing TAB while the ComboBox has focus doesn't work, nothing happens.
Shift-TAB works as expected.

Robert
Top achievements
Rank 1
 asked on 24 Oct 2022
0 answers
316 views

I'm running into an issue trying to implement a horizontally scrolling grid in the main content of a page alongside a push drawer. From what I understand, scrolling horizontally requires a fixed width TelerikGrid, but using push mode on a drawer requires the same width to not be set. Currently, if I set a fixed width for the grid, it will always remain at that width, regardless of whether the drawer is expanded or closed. If I don't set a width, the grid will expand to its full width and go off the screen, rather than remaining on the screen and expanding/contracting when the drawer is opened or closed.

Is there a good way to implement horizontal scrolling in a Telerik Grid while still allowing the grid to increase and decrease in width when the drawer is opened/closed?

Carter
Top achievements
Rank 1
 asked on 24 Oct 2022
0 answers
149 views

1. Go to https://demos.telerik.com/blazor-ui/gantt/templates

2. Scroll to the end of timeline horizontally
3. Move mouse pointer to timeline
Tooltip appears in the wrong place



t

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 updated question on 22 Oct 2022
3 answers
229 views

By default anything is ok



But with enable localization all lables is empty



The TelerikMessages resource file does not contain pointers to the properties of the Gantt component, and has not been updated in over a year!!

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 updated answer on 22 Oct 2022
1 answer
165 views
I Want to programically clear current sellection from Tree List. How to do that? I tried two way binding with SelectedItems but clearing the collection does not clear sellection in the UI... Need help please.
Dimo
Telerik team
 answered on 21 Oct 2022
2 answers
753 views

Hello,

I need a ComboBox that receives data via databinding (Data="@Series"), selects a value in the combobox via C# code (@bind-Value="SelectedSeries") and then executes (OnChange="@OnComboSeriesValueChanged") a function as if a user had selected a value.

But Telerik does not allow double binding to the control. Who is supposed to understand this!? This restriction is unnecessary!!! My use case is quite normal after all.

Not working example "...'ValueChanged' is used two or more times..."

                <TelerikComboBox Data="@Series"
                             OnChange="@MyOnChangeHandler"
                             ValueChanged="@((string value) => OnComboSeriesValueChanged(value))"
                             @bind-Value="SelectedSeries"
                             TItem="string"
                             TValue="string"
                             AllowCustom="false"
                             Filterable="true"
                             Placeholder="Select a Series."
                             Width="100%"
                             @ref="SeriesComboBoxRef">
                </TelerikComboBox>

 

Thanks for your help

 

Dimo
Telerik team
 answered on 20 Oct 2022
1 answer
173 views

Hey,

So I noticed that the Telerik Loader isn't displaying the correct colour when you set the ThemeColor on it to the secondary colour, seemingly in any of the themes.

Here's a REPL I made, where each theme color is used, and I placed a button right next to each loader for easy comparison: https://blazorrepl.telerik.com/mGbYbMYa13VfwDlm06

Try changing the theme and running the repl again and you will notice it is consistently displaying as a very different colour to the button.

In this screenshot, the loader for Secondary is dark, whereas the button is much lighter. This appears to be an issue in all the themes I selected, but this screenshot shows the default theme. Notice, that all other loaders and buttons match at all times in all themes.

Dimo
Telerik team
 answered on 20 Oct 2022
1 answer
291 views

Is there a way to cancel the keydown/keypress/keyup events to prevent non-digit characters from getting typed when characters in a TelerikTextBox? 

Also, I need a MaxLength set to 9 which the TelerikTextBox has but the TelerikNumericTextBox does not have.

I want to prevent non-digit characters, and I also want to disallow typing more than a specified number of characters.  The TelerikNumericTextBox only turns its border control red when exceeding a specified max value.  I want to prevent typing more than 'x' number of digits.

 

Dimo
Telerik team
 answered on 20 Oct 2022
0 answers
191 views
I have a grid where I click on a row that makes sense for a text box or drop down list - I click on a cell with either of these controls, and then I can edit text or select as expected.  I want to change that behavior for a cell with a checkbox.  I want the value of the checkbox to change on the first click instead of it putting the checkbox cell in focus and then clicking it again to change its value.  Is this possible?
Larry
Top achievements
Rank 2
Iron
Veteran
Iron
 asked on 19 Oct 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?