Telerik Forums
UI for Blazor Forum
1 answer
140 views

Hello,

the first Output of "i" (<GridColumn Title="@($"Grid {i}")">) works, the Output is 1,2,3,4,...10, but the second output (<p>@($"pos: {ctx.GridSizePosition} - i: {i}")</p>) "i" is always 11 (the last value +1 from of the loop).

            <GridColumn Field="@(nameof(ArticlePriceSize.PriceListKey))" />
            @{
                for (int i = 0; i <= 10; i++)
                {
                    <GridColumn Title="@($"Grid {i}")">
                        <Template>
                            @{
                                var ctx = context as ArticlePriceSize;
                                <p>@($"pos: {ctx.GridSizePosition} - i: {i}")</p>
                            }
                        </Template>
                    </GridColumn>
                }
            }
            <GridColumn Field="@(nameof(ArticlePriceSize.AMSGridSizePosition))" />

How can I use the variable "i" in the Template?

Hristian Stefanov
Telerik team
 answered on 22 Jul 2022
2 answers
146 views

I made a custom filter using FilterCellTemplate, now i would like to add filter operator and filter clear button.

For filter clear button it's simple just adding <TelerikButton OnClick="ClearLogic"><span class="k-icon k-i-filter-clear k-button-icon"></TelerikButton>

 

but how to add filter operator selection?

default filter operator selection is a TelerikDropdownList without span.k-input-inner element, and with k-filter-icon in the button, how can i reply this component? there is one out of the box?

Thanks

 

Svetoslav Dimitrov
Telerik team
 answered on 22 Jul 2022
1 answer
247 views

Hi,

I'm trying to figure out the range snapping when dragging a task in the Gantt timeline. I'm looking to implement a method to snap the task to the start of the day and not show any hours or minutes when dragging the start or end of the task.
Is there a way to customize the tooltip shown while dragging a task? (circled in red in the following screenshot)



I noticed the RangeSnapTo setting for the Gantt in the API reference, but that had no effect on the snapping behavior when dragging the task, or when dragging the start or end of the task. Am I missing something here?

The actual effect I'm trying to achieve is snapping to business days, so Saturdays and Sundays are ignored, but still visible as days in the Gantt chart. Any tips on how to achieve such behavior?

Kind Regards!

Nadezhda Tacheva
Telerik team
 answered on 21 Jul 2022
1 answer
243 views

Hello

I am implementing DateRangePicker with null start and end date. When user open calendar he sees Min date instead of current date.

How can I move the focus from the Min date to the current date at the time the calendar is opened?

Hristian Stefanov
Telerik team
 answered on 21 Jul 2022
1 answer
456 views

Hello

I am implementing Custom Filter Row. The main task is to implement Check Box List in the row filter (multi select).
Could someone please provide information how can I implement Custom Row Filter like Check Box List Filter for Filter menu?

 

Hristian Stefanov
Telerik team
 updated answer on 21 Jul 2022
1 answer
125 views

I have a Grid, for each column i set the width setting the property

Width="@DescriptionWidth"

When the grid is not in filter mode (FilterMode = GridFilterMode.None) i call AutoFitColumnsWidthAsync to autofit the columns.

When it is in filter mode i would like to have a bigger column size to allow the filter render correctly,

so i set the DescriptionWidth property who is binded to the Width of the column, but it not work if previously was called AutoFitColumnsWidthAsync.

 

There is a way to clear the settings done by AutoFitColumnsWidthAsync and allow to keep the binded property width?

Here a sample code:

https://blazorrepl.telerik.com/wmYrFDYh20r6bnFB33

 

Thanks

Dimo
Telerik team
 answered on 21 Jul 2022
1 answer
548 views

Is there a way to customize the telerik filemanager?

I need to hide the navigation pane (directories), the breadcrumbs and also customize the toolbar. (remove "Search", "New Folder," "Sort By", "Sort Order", and "View")

Currently I am able to Hide the nav panel and the breadcrumbs through CSS, but the splitter is still forcing the content pane to be sized as though it is present..

 

I would also like to be able to select the grid as the default (and only) view available

Any help would be appreciated.

Hristian Stefanov
Telerik team
 answered on 20 Jul 2022
1 answer
2.1K+ views

Hey!

Atm I'm trying to override the styling of the Telerik TextBox. It currently looks like this;

Im using a light theme and trying to change the border of the inner input of the TextBox.

All i change doesn't seem to work. I tried stuff like this :

/*.k-textbox:focus, .k-textbox:active{
    border-color: transparent;
    border: none;

}
.k-textbox-container, .k-textbox-container:active{
    border-color:transparent;
    border:none;
}
.k-input:focus, .k-input:active{
    border-color: none;
    border: none;
}*/

But I can't find a proper documentation for the inner styling of the TextBox input. All I want to change is the visibility of the input border.

Thanks for reading this post.

Phil

Hristian Stefanov
Telerik team
 answered on 20 Jul 2022
0 answers
975 views

 

Started building my first app with Blazor Grid and running into some issues.   Have several columns that need dropdownlist to display text instead of underlying number (eg select and display "Operations Department"  instead of value of 3) 

The grid will not sort based on the Display Text but does so instead based on value.    Same when trying to group using the field.  Sort by the value in groups (and I see no way to change the sort order from ascending to descending on the groups too).

 

 

Daniel
Top achievements
Rank 1
 asked on 19 Jul 2022
0 answers
93 views
Body
Lance
Top achievements
Rank 2
 updated question on 19 Jul 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?