Telerik Forums
UI for Blazor Forum
2 answers
1.1K+ views
Now I use constant or percentage values for column width settings. But for some columns I need constant width value after some threshold grid width. When my grid is set narrow, I need some columns set be constand width.
May be will be usefull maximum column value also.
Leland
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 08 Apr 2024
1 answer
202 views

I would like to use the ColumnMenu and the FilterRow at the same time. It seems to me that is not possible although it is so obvious !?

I do no need any more filters in the ColumnMenu just the "Columns" Menu-Items to hide/show or lock/unlock columns.

 

 

 

Leland
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 08 Apr 2024
2 answers
227 views
When using the TelerikForm's Columns parameter, the FormItems in the first row will have a margin just like FormItems in later rows.  I want to remove the extra margin on the top.

This can be seen in the example on the Form Columns page.  After starting the Preview, use developer tools (F12) and select either of the FormItems in the first row.  You will see a margin of 14 (dark brown colored area).  Then if you go to Edit, remove the Columns="2", and restart the Preview, you will see the first FormItem does not have a margin, while the remaining FormItems have the margin, which is the desired behavior.
Tsvetomir
Telerik team
 answered on 05 Apr 2024
3 answers
2.4K+ views

 

Hi,

In my Blazor grid, I have a column which can have long text in it.  I need to use ellipsis on this column e.g put ellipsis after say 50 characters, with the full content then displayed in a tooltip when you hover on the ellipsis.
I know this was possible with your other grids, how can I do this with your blazor grid?  

 

Thanks,

Leland
Top achievements
Rank 2
Iron
Iron
Iron
 updated answer on 04 Apr 2024
0 answers
436 views
I have a Blazor Grid in .NET 8 that binds to a List<> called GridData the I fill in OniIntializedAsync(). The data returns fine and the grid shows the correct number of rows, but none of the columns show their data. I tried AutoGenerateColmns-"true" and setting the <GrdiColumns>. If I loop the List with foreach, the data displays as expected.
Bill
Top achievements
Rank 1
 asked on 03 Apr 2024
1 answer
293 views

Afternoon,

I've attached a picture for it describes the problem best. After clicking on a tab item (Blazor UI) there is a "focus rectangle" around the tab. How can I make sure that this rectangle never shows, that is, clicking on the tab should simply select the tab and not paint the rectangle. To my surprise the following didn't work:

::deep .k-active:active{
    outline: none !important;
}
::deep .k-active:focus{
    outline: none !important;
}

Hristian Stefanov
Telerik team
 answered on 03 Apr 2024
1 answer
121 views

I have developed quite a large application with multiple file upload points in the UI to upload various files. All was working fine. Now one of the upload components stopped working. What I mean by this is that all the workflow methods (OnSelect, OnUpload) fire correctly but then, when it needs to call the server to process the upload, it just does nothing without returning an error or anything. The other upload components still work 100%. I have even copied the upload component tag from the razor page that is working and replaced the upload tag in the page that is not working and still it does not work. The difference is that on the one that is working it is on the page in a gridtoolbar while on the one that is not working the grid is on a tabstriptab on another page. The controller method is never hit and the browser console as well as the server logs do not indicate the upload post action being made.

The solution is way too big to post here and I have already established that the upload can work. Does anyone have some pointers as to where and how to trace the probable cause of this behaviour?

Renier Pretorius
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 02 Apr 2024
1 answer
162 views
We use a NumericTextbox for amounts. The "Format" parameter is set to "###,###,###,###,##0.00". It should now be possible to copy already formatted numeric values (with thousands separator) into the textbox. However, this only accepts unformatted numerical values:

100000 <-- works
100000,23 <-- works 
100,000.23 <-- does not work

Depending on the language/culture, the thousands separator changes (either '.' or ',').
As soon as the number contains a thousands separator, the textbox no longer recognises the value as a number and does not accept the value.

Is there a way to achieve this?
Hristian Stefanov
Telerik team
 answered on 02 Apr 2024
1 answer
94 views
I have a TelerikGrid that contains many columns and a DetailTemplate within it. The Grid has functionality for multiselect with a checkbox column that appears as the first column on the grid. Is it possible to move this checkbox column in front of the detail template '+' dropdown row?
<TelerikGrid data="@models"
     <DetailTemplate>
          <GridColumns><GridColumns />
     <DetailTemplate />
     <GridColumns>
          <GridColumn>Checkbox Here<GridColumn />
     <GridColumns />
<TelerikGrid />

Hristian Stefanov
Telerik team
 answered on 02 Apr 2024
1 answer
137 views

On the Filter component I have observed that when it is added to a Dialog component it no longer functions correctly. You can add filters but can't remove any of them without generating an exception.

The Filter component will allow you to add filters but if you click the 'x' to remove a filter it will not remove. Clicking the 'x' again results in an error:

Unhandled exception rendering component: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

Exception: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.ObjectModel.Collection`1.RemoveAt(Int32 index)
at Telerik.Blazor.Components.Filter.FilterGroup.OnFilterRemove(Int32 index, String removedFilterId)
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

 

I also noticed that if you remove the binding from the Filter it fails the same way: https://blazorrepl.telerik.com/weEHQCQa49xsfTxF28

 

Nansi
Telerik team
 answered on 01 Apr 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?