Telerik Forums
UI for Blazor Forum
1 answer
1.3K+ views

I have a TelerikGrid component with some columns.

I need to center the header text for one of these.

I read some solutions adding css, but it apply to all columns, or it select the column by position.

I need to apply the align style only for specific columns and not reference it by position.

It is possible?

I also tried HeaderTemplate but to center align a column i need to access the parent element with .k-link and the header template is nested inside it.

How to solve?

Thanks

 

Svetoslav Dimitrov
Telerik team
 answered on 13 Oct 2021
4 answers
277 views

Hello,

 

Is there a way to make the candlestick chart always use the colorfield even if the value is down?

In my solution it dont matter if the value is up or down, if  the colorfield is defined it should always us that.

I can't use the Color and DownColor, since the colorfield can be different throughout the series.

 

As displayed below all the "Down" values are displayed as black, when it should be pink.

Best Regards,

Emil

 

Emil
Top achievements
Rank 2
Iron
Iron
 answered on 13 Oct 2021
0 answers
191 views

In the documentation is stated:

  • When only some column widths are set and the cumulative width of columns with set widths is less than the available Grid width, the widths of the columns with a set width are respected and the remaining width is distributed evenly between the other columns.

https://docs.telerik.com/blazor-ui/components/grid/columns/width

 

This behaviour work well if the columns in the grid are all visibles.

If there are some invisible columns (property Visible="false") the remaining width is NOT distributed between the other columns (columns without Width property).

Example1:

Col1 Width="10px"

Col2 Width="10px"

Col3 (without width property)

Col4 Width="10px"

in this situation Col3 is sized correctly based on the remaing width.

Example2:

Col1 Width="10px"

Col2 Width="10px" Visible="false"

Col3 (without width property)

Col4 Width="10px"

in this situation Col3 is sized based on the remaing width BUT also Col4 width is changed!

Any suggestion?

Thanks


 

 

 

 

Claudio
Top achievements
Rank 2
Bronze
Bronze
Iron
 updated question on 12 Oct 2021
0 answers
204 views

SOLVED

Hi,

i've a grid where my email field isn't shown (must not be) , when editting the popup cannot be save due an error of a invalid EmailAddress.

Field isn't requierd, so an empty field should possible , i thought.

Model:

[MaxLength(150)]
[EmailAddress]
 public string emailaddress { get; set; } 

i used : https://demos.telerik.com/blazor-ui/grid/custom-editor as starting point 

database wasn't correct

 

 

W.
Top achievements
Rank 1
 updated question on 12 Oct 2021
4 answers
835 views

Hello!

In my example grids, the checkbox selection does not work every time.

- If i click in a row directly on a checkbox, the checkbox is not checked - only on the second click
- after the checkbox is onced checked, a new click directly changes the state instead of having a second required click
- row clicks sometimes are not changing the checkbox state, sometimes they do

It behaves very strange and not like on your demos pages.
My grids are not having anything fancy (like jo, the GridCheckboxColumn and the SelectionMode)

Anything that i can try to solve it? ...
Niklas

Steve
Top achievements
Rank 1
Iron
 answered on 11 Oct 2021
0 answers
102 views
like Hidden (but not just Enabled)
Aleksandr
Top achievements
Rank 1
Bronze
Bronze
Veteran
 asked on 11 Oct 2021
2 answers
366 views

Hello, how can I remove the trailing zeros from the editor? Is possible to use the same format (###,##0.00###) when editing the value? right now when the value of the field is read from the database (is a decimal 18,5) and the value is for example 1,00000 (just one with 5 zero after decimal separator) then the textbox is formatted right (1,00) but when editing it is 1,00000. I hope the question was clear, sorry.

thank you

 


<TelerikNumericTextBox Width="100%" @bind-Value="docum.rigadoc.prezzo" Class="rightAlign" Decimals="5" Format="###,##0.00### €" Min="0" Max="99999999"></TelerikNumericTextBox>

Alberto
Top achievements
Rank 1
Iron
 answered on 10 Oct 2021
1 answer
175 views

Hello,

Is there a way to offset the data shown on the axis, without removing any data.

The issue is show below, where the text overlap, and my question is then if there is a posibility to offset the text as shown in the last image. Or maybe something simular.

Best Regards,

Emil

Marin Bratanov
Telerik team
 answered on 10 Oct 2021
1 answer
256 views

Is there a way to email a chart image, preferable from a server api so that is can be scheduled.

more context. Users can see a chart on the UI. Overnight jobs will check for outliers and if any are found, want an email with equivelent graph as image 

 

 

Marin Bratanov
Telerik team
 answered on 10 Oct 2021
1 answer
442 views

Hi Team,

In GridCommandButton when we Enabled = false, TheTool Tip is not showing.

<GridCommandButton Command="Edit" Enabled="false" OnClick="@DeleteSelectedItemClicked" Title="This is Delete.">Delete</GridCommandButton>

 

Thanks,

Vishnu Vardhanan

Dimo
Telerik team
 answered on 08 Oct 2021
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?