Hello!
Place TelerikNumericTextBox component in TileLayoutItem's HeaderTemplate.
The up/down buttons will not trigger and cause for tile's reordering event.
<
TileLayoutItem
ColSpan
=
"4"
RowSpan
=
"7"
>
<
HeaderTemplate
>
<
span
>Title</
span
>
<
TelerikNumericTextBox
Value
=
"@interval"
ValueChanged
=
"@ChangeInterval"
Step
=
"1"
T
=
"int"
Min
=
"0"
Max
=
"50"
/>
</
HeaderTemplate
>
<
TileLayoutItem
/>
Hello!
I'm trying to implement some user's menu in column's template like this:
<
TelerikGrid
Data
=
"@MyData"
Height
=
"100%"
Pageable
=
"true"
Sortable
=
"true"
Groupable
=
"true"
FilterMode
=
"Telerik.Blazor.GridFilterMode.FilterRow"
Resizable
=
"true"
Reorderable
=
"true"
>
<
GridColumns
>
<
GridColumn
Field
=
"@(nameof(SampleData.Id))"
Width
=
"120px"
/>
<
GridColumn
Field
=
"@(nameof(SampleData.Name))"
Title
=
"Employee Name"
Groupable
=
"false"
/>
<
GridColumn
Field
=
"@(nameof(SampleData.Team))"
Title
=
"Team"
/>
<
GridColumn
Field
=
"@(nameof(SampleData.HireDate))"
Title
=
"Hire Date"
/>
<
GridColumn
Filterable
=
"false"
Title
=
"Menu"
Lockable
=
"false"
Sortable
=
"false"
ShowColumnChooser
=
"false"
VisibleInColumnChooser
=
"false"
ShowColumnMenu
=
"false"
>
<
Template
>
@{
<
button
class
=
"btn btn-default dropdown-toggle"
data-toggle
=
"dropdown"
aria-haspopup
=
"true"
aria-expanded
=
"false"
>
Menu
</
button
>
<
div
class
=
"dropdown-menu"
>
<
a
class
=
"dropdown-item"
style
=
"cursor: pointer"
>Edit</
a
>
<
a
class
=
"dropdown-item"
style
=
"cursor: pointer"
>Delete</
a
>
</
div
>
}
</
Template
>
</
GridColumn
>
</
GridColumns
>
</
TelerikGrid
>
@code {
public IEnumerable<
SampleData
> MyData = Enumerable.Range(1, 1).Select(x => new SampleData
{
Id = x,
Name = "name " + x,
Team = "team " + x % 5,
HireDate = DateTime.Now.AddDays(-x).Date
});
public class SampleData
{
public int Id { get; set; }
public string Name { get; set; }
public string Team { get; set; }
public DateTime HireDate { get; set; }
}
}
But menu is not fully showing and hide by grid's footer
setting z-index for dropdown doesnt help
Please help....
H
in https://docs.telerik.com/blazor-ui/common-features/font-icons is written:
You can find the rendered icons in the Kendo UI Web Font Icons Library article.
There are some mistakes in the names.
Example in Charts section:
.k-i-line-markers Unicode: ea10
.k-i-bar Unicode: ea1c
In the definition in _content\Telerik.UI.for.Blazor\css\kendo-theme-bootstrap\all.css I found:
.k-i-graph::before {
content
:
"\ea00"
;}
.k-i-chart-column-clustered::before {
content
:
"\ea01"
;}
.k-i-chart-column-stacked::before {
content
:
"\ea02"
;}
.k-i-chart-column-stacked
100:
:before {
content
:
"\ea03"
;}
.k-i-chart-column-range::before {
content
:
"\ea04"
;}
.k-i-chart-bar-clustered::before {
content
:
"\ea05"
;}
.k-i-chart-bar-stacked::before {
content
:
"\ea06"
;}
.k-i-chart-bar-stacked
100:
:before {
content
:
"\ea07"
;}
.k-i-chart-bar-range::before {
content
:
"\ea08"
;}
.k-i-chart-area-clustered::before {
content
:
"\ea09"
;}
.k-i-chart-area-stacked::before {
content
:
"\ea0a"
;}
.k-i-chart-area-stacked
100:
:before {
content
:
"\ea0b"
;}
.k-i-chart-area-range::before {
content
:
"\ea0c"
;}
.k-i-chart-line::before {
content
:
"\ea0d"
;}
.k-i-chart-line-stacked::before {
content
:
"\ea0e"
;}
.k-i-chart-line-stacked
100:
:before {
content
:
"\ea0f"
;}
.k-i-chart-line-markers::before {
content:
"\ea10"
;}
.k-i-chart-line-stacked-markers::before {
content
:
"\ea11"
;}
.k-i-chart-line-stacked
100
-markers::before {
content
:
"\ea12"
;}
.k-i-chart-pie::before {
content
:
"\ea13"
;}
.k-i-chart-doughnut::before {
content
:
"\ea14"
;}
.k-i-chart-scatter::before {
content
:
"\ea15"
;}
.k-i-chart-scatter-smooth-lines-markers::before {
content
:
"\ea16"
;}
.k-i-chart-scatter-smooth-lines::before {
content
:
"\ea17"
;}
.k-i-chart-scatter-straight-lines-markers::before {
content
:
"\ea18"
;}
.k-i-chart-scatter-straight-lines::before {
content
:
"\ea19"
;}
.k-i-chart-bubble::before {
content
:
"\ea1a"
;}
.k-i-chart-candlestick::before {
content
:
"\ea1b"
;}
.k-i-chart-ohlc::before {
content:
"\ea1c"
;}
The most chart icon starts with k-i-chart-.
Please correct the Kendo UI Web Font Icons Library article.
They are missing in https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.IconName
Regards,
Peter
Hi,
trying the blazor demo on https://demos.telerik.com/blazor-ui/grid/overview
with an ipad Air 2, ios 14.2, using safari or edge, results in error.
Is this an unsupported environment?
Brgds,
Henri
Hi everyone,
Is there any possibility to show the parent nodes at the bottom of their children nodes not on top? I know this may sound hilarious to you but what I'm trying to get is some kind of total rows which are the parents of the children nodes and it would be nice if they would appear at the bottom not at the top of the children nodes.
Thank you.
Best regards,
Cipri
What is it that I'm missing when I have a Blazer Telerik Grid specified this way on a razor page:
@page "/households"
<h3>Households</h3>
<TelerikGrid Data="Model" Height="550px" Sortable="true">
<GridColumns>
<GridColumn Field="Name" Title="Name" />
<GridColumn Field="Lies_District" Title="District" />
<GridColumn Field="Openings" Title="Openings" />
<GridColumn Field="EmailAddress" Title="Email" />
<GridColumn Field="JoinedOn_DateTime" Title="JoinedOn" />
<GridColumn Field="ReportCount" Title="Reports" />
<GridColumn Field="LastReport" Title="Last Report" />
</GridColumns>
</TelerikGrid>
and the resulting page has no grid lines, headings all smashed together with only one space between title columns?
Hello Team, Just want to check with regarding Blazor Grid. is it support nested models? basically I want to bind a Object2.Object2.Property
Eg:
<GridColumn Field=@nameof(ExcelColumn.Settings.Order ) Title="Order" />
Thanks,
Sajid